diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-10-20 21:45:49 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-10-20 21:45:49 +0000 |
commit | 3ea6769070f532cebe6dc70c971510daa2b76847 (patch) | |
tree | dfb5c893815f00c87fc7cbf46a5cbcaee7230c7e /Makefile.common | |
parent | 26b98265b7edb493e220822e7967c0eb15d52fa6 (diff) |
Warn when we are linking an executable without symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index 01261acd2b..65bb19be1d 100644 --- a/Makefile.common +++ b/Makefile.common @@ -142,8 +142,10 @@ endif # By default, strip symbol information from executable ifdef KEEP_SYMBOLS STRIP = +WARN_MSG = else STRIP = -s +WARN_MSG = "(without symbols) " endif # Allow gnu extensions... @@ -397,7 +399,7 @@ clean:: $(VERB) rm -f $(TOOLEXENAMES) $(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(BUILD_ROOT_TOP)/tools/Debug/.dir - @echo ======= Linking $(TOOLNAME) debug executable ======= + @echo ======= Linking $(TOOLNAME) debug executable $(WARN_MSG) ======= $(VERB) $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS_G) $(TOOLLINKOPTS) $(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir |