1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Warn when we are linking an executable without symbols.

llvm-svn: 4236
This commit is contained in:
Vikram S. Adve 2002-10-20 21:45:49 +00:00
parent 85a358583f
commit 34f6a6514d
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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