mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
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
This commit is contained in:
parent
26b98265b7
commit
3ea6769070
@ -142,8 +142,10 @@ endif
|
|||||||
# By default, strip symbol information from executable
|
# By default, strip symbol information from executable
|
||||||
ifdef KEEP_SYMBOLS
|
ifdef KEEP_SYMBOLS
|
||||||
STRIP =
|
STRIP =
|
||||||
|
WARN_MSG =
|
||||||
else
|
else
|
||||||
STRIP = -s
|
STRIP = -s
|
||||||
|
WARN_MSG = "(without symbols) "
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Allow gnu extensions...
|
# Allow gnu extensions...
|
||||||
@ -397,7 +399,7 @@ clean::
|
|||||||
$(VERB) rm -f $(TOOLEXENAMES)
|
$(VERB) rm -f $(TOOLEXENAMES)
|
||||||
|
|
||||||
$(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(BUILD_ROOT_TOP)/tools/Debug/.dir
|
$(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)
|
$(VERB) $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS_G) $(TOOLLINKOPTS)
|
||||||
|
|
||||||
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir
|
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir
|
||||||
|
@ -142,8 +142,10 @@ endif
|
|||||||
# By default, strip symbol information from executable
|
# By default, strip symbol information from executable
|
||||||
ifdef KEEP_SYMBOLS
|
ifdef KEEP_SYMBOLS
|
||||||
STRIP =
|
STRIP =
|
||||||
|
WARN_MSG =
|
||||||
else
|
else
|
||||||
STRIP = -s
|
STRIP = -s
|
||||||
|
WARN_MSG = "(without symbols) "
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Allow gnu extensions...
|
# Allow gnu extensions...
|
||||||
@ -397,7 +399,7 @@ clean::
|
|||||||
$(VERB) rm -f $(TOOLEXENAMES)
|
$(VERB) rm -f $(TOOLEXENAMES)
|
||||||
|
|
||||||
$(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(BUILD_ROOT_TOP)/tools/Debug/.dir
|
$(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)
|
$(VERB) $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS_G) $(TOOLLINKOPTS)
|
||||||
|
|
||||||
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir
|
$(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir
|
||||||
|
Loading…
Reference in New Issue
Block a user