Changeset 2535 for trunk/kBuild/tools/GXX4MACHO.kmk
- Timestamp:
- Aug 2, 2011, 9:05:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GXX4MACHO.kmk
r2527 r2535 106 106 TOOL_GXX4MACHO_LDFLAGS.profile ?= -g 107 107 108 TOOL_GXX4MACHO_STRIP_PROGRAM ?= strip -SXxru 109 TOOL_GXX4MACHO_STRIP_DLL ?= strip -Sxru 110 TOOL_GXX4MACHO_STRIP_SYSMOD ?= strip -Sru 111 108 112 109 113 ## … … 124 128 # @param 2 The linker output filename sans suffix. 125 129 # @param 3 The desired install name (no dir slash). 130 # @remarks The Info.plist has some reference to the original name, but gdb 131 # does not care and only check for a symbol file in the DWARF 132 # directory with the same name as the debugged module. 126 133 TOOL_GXX4MACHO_DEBUG_INSTALL_FN= \ 127 134 $(3).dSYM/ \ … … 130 137 $(3).dSYM/Contents/Resources/DWARF/ \ 131 138 $(1).dSYM/Contents/Info.plist=>$(3).dSYM/Contents/Info.plist \ 132 $(1).dSYM/Contents/Resources/DWARF/$(notdir $(1))=>$(3).dSYM/Contents/Resources/DWARF/$(notdir $( 1))139 $(1).dSYM/Contents/Resources/DWARF/$(notdir $(1))=>$(3).dSYM/Contents/Resources/DWARF/$(notdir $(3)) 133 140 134 141 … … 388 395 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 389 396 ifeq ($(ld_debug),split) 390 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 397 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 398 $(QUIET)$(TOOL_GXX4MACHO_STRIP_PROGRAM) $(out) 391 399 endif 392 400 endef … … 419 427 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 420 428 ifeq ($(ld_debug),split) 421 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 429 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 430 $(QUIET)$(TOOL_GXX4MACHO_STRIP_DLL) $(out) 422 431 endif 423 432 endef … … 449 458 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 450 459 ifeq ($(ld_debug),split) 451 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 460 $(QUIET)$(TOOL_GXX4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 461 $(QUIET)$(TOOL_GXX4MACHO_STRIP_SYSMOD) $(out) 452 462 endif 453 463 endef
Note:
See TracChangeset
for help on using the changeset viewer.