summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-10-26 00:52:13 +0000
committerEric Christopher <echristo@apple.com>2011-10-26 00:52:13 +0000
commitf3a5ba548f7cd890d428c76565300d1c1b687981 (patch)
treee82caefc0ed92b5aafbf4d36d29f45c7739b815c /Makefile.rules
parent360fa9a29d65b6c9b69fb2ba9712d69098cfca13 (diff)
downloadllvm-f3a5ba548f7cd890d428c76565300d1c1b687981.tar.gz
llvm-f3a5ba548f7cd890d428c76565300d1c1b687981.tar.bz2
llvm-f3a5ba548f7cd890d428c76565300d1c1b687981.tar.xz
Search for and use the strip program and pass it to install for it
to use for stripping final executables. Patch by Simon Atanasyan! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 54c378054b..657586ea29 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -531,7 +531,7 @@ endif
ifndef KEEP_SYMBOLS
Strip := $(PLATFORMSTRIPOPTS)
StripWarnMsg := "(without symbols)"
- Install.StripFlag += -s
+ Install.StripFlag += -s --strip-program=$(STRIP)
endif
ifdef TOOL_NO_EXPORTS