summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-31 19:00:26 +0000
committerChris Lattner <sabre@nondot.org>2003-01-31 19:00:26 +0000
commit527002cfdd5ffc2e3196474f2a182c7a30735721 (patch)
treeb2151134167da6092b9cb55dfcad7ce5e55d1384 /Makefile.common
parent3f39849003689a4d33aecdc744d4d27fd93a8f68 (diff)
downloadllvm-527002cfdd5ffc2e3196474f2a182c7a30735721.tar.gz
llvm-527002cfdd5ffc2e3196474f2a182c7a30735721.tar.bz2
llvm-527002cfdd5ffc2e3196474f2a182c7a30735721.tar.xz
Fix strip issue Joel ran into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index 37cce15f70..25794fa540 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -142,10 +142,10 @@ endif
# By default, strip symbol information from executable
ifdef KEEP_SYMBOLS
STRIP =
-WARN_MSG =
+STRIP_WARN_MSG =
else
-STRIP = -Wl,-x
-WARN_MSG = "(without symbols) "
+STRIP = $(PLATFORMSTRIPOPTS)
+STRIP_WARN_MSG = "(without symbols) "
endif
# Allow gnu extensions...
@@ -406,7 +406,7 @@ clean::
$(VERB) rm -f $(TOOLEXENAMES)
$(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(TOOLDEBUG)/.dir
- @echo ======= Linking $(TOOLNAME) debug executable $(WARN_MSG) =======
+ @echo ======= Linking $(TOOLNAME) debug executable $(STRIP_WARN_MSG) =======
$(VERB) $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS_G) $(LINK_OPTS)
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(TOOLRELEASE)/.dir