Changeset 2541 for trunk/kBuild/tools/GXX64.kmk
- Timestamp:
- Aug 3, 2011, 11:51:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GXX64.kmk
r2534 r2541 66 66 67 67 ifdef SLKRUNS 68 TOOL_GXX64_CC += -fmessage-length=069 TOOL_GXX64_CXX += -fmessage-length=068 TOOL_GXX64_CC += -fmessage-length=0 69 TOOL_GXX64_CXX += -fmessage-length=0 70 70 endif 71 71 … … 266 266 $(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 267 267 $(CHMOD) a-x $(outbase).debug 268 $(TOOL_GXX64_OBJCOPY) --strip-debug $(out) 269 $(TOOL_GXX64_OBJCOPY) --add-gnu-debuglink=$(outbase).debug $(out) 268 $(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 270 269 endif 271 270 endef … … 287 286 TOOL_GXX64_LINK_DLL_OUTPUT = 288 287 TOOL_GXX64_LINK_DLL_OUTPUT_MAYBE = $(outbase).map 288 TOOL_GXX64_LINK_DLL_OUTPUT_DEBUG = $(outbase).debug 289 TOOL_GXX64_LINK_DLL_DEBUG_INSTALL_FN = $(2).debug=>$(basename $(3)).debug 289 290 TOOL_GXX64_LINK_DLL_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) 290 291 TOOL_GXX64_LINK_DLL_DEPORD = … … 296 297 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 297 298 $(call TOOL_GXX64_LD_MAP,$(outbase).map) 299 ifeq ($(ld_debug),split) 300 $(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 301 $(CHMOD) a-x $(outbase).debug 302 $(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 303 endif 298 304 endef 299 305 … … 314 320 TOOL_GXX64_LINK_SYSMOD_OUTPUT = 315 321 TOOL_GXX64_LINK_SYSMOD_OUTPUT_MAYBE = $(outbase).map 322 TOOL_GXX64_LINK_SYSMOD_OUTPUT_DEBUG = $(outbase).debug 323 TOOL_GXX64_LINK_SYSMOD_DEBUG_INSTALL_FN = $(2).debug=>$(basename $(3)).debug 316 324 TOOL_GXX64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) 317 325 TOOL_GXX64_LINK_SYSMOD_DEPORD = … … 321 329 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 322 330 $(call TOOL_GXX64_LD_SYSMOD_MAP,$(outbase).map) 323 endef 324 331 ifeq ($(ld_debug),split) 332 $(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 333 $(CHMOD) a-x $(outbase).debug 334 $(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 335 endif 336 endef 337
Note:
See TracChangeset
for help on using the changeset viewer.