aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-02-24 07:12:43 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-02-24 07:12:43 +0000
commit860598a29526f84c2df0a3e4584b82e1bcd2fe9a (patch)
treeb5d85b28e7e3456700b39a4b0497fe771af5a1f6
parent623369ac5669a3667a94a3cbba342dea78845615 (diff)
Fix the other half of PR528 .. don't try to strip header files!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20301 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.rules b/Makefile.rules
index b020ca9a11..d3e4ff9a25 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -322,7 +322,7 @@ endif
ifndef KEEP_SYMBOLS
Strip := $(PLATFORMSTRIPOPTS)
StripWarnMsg := "(without symbols)"
- Install.Flags += -s
+ Install.StripFlag += -s
endif
# Adjust linker flags for building an executable
@@ -362,8 +362,8 @@ Relink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \
$(CompileCommonOpts)
LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \
$(Install.Flags)
-ProgInstall = $(INSTALL) $(Install.Flags) -m 0755
-DataInstall = $(INSTALL) $(Install.Flags) -m 0644
+ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
+DataInstall = $(INSTALL) -m 0644
Burg = $(BURG) -I $(PROJ_SRC_DIR)
TableGen = $(TBLGEN) -I $(PROJ_SRC_DIR)
Archive = $(AR) $(AR.Flags)