From 527002cfdd5ffc2e3196474f2a182c7a30735721 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 31 Jan 2003 19:00:26 +0000 Subject: Fix strip issue Joel ran into git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5449 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile.common') 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 -- cgit v1.2.3