Changeset 5884 in vbox
- Timestamp:
- Nov 29, 2007 2:57:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r5880 r5884 945 945 else echo "$(2)"; fi; ) 946 946 947 VBOX_GCC_CHECK_LD =$(shell \948 if $(TOOL_$(VBOX_GCC_TOOL)_LD) -Wl,--help 2>&1 | grep -q -- $(1); \949 then echo "-Wl,$(1)"; \950 else echo "$(2)"; fi; )951 952 947 VBOX_GCC32_CHECK_CXX = $(shell \ 953 948 if $(TOOL_$(VBOX_GCC32_TOOL)_CXX) $(1) -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1; \ … … 977 972 @# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2. 978 973 $(APPEND) "$@" "VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)" 979 $(APPEND) "$@" "VBOX_LD_as_needed ?= $(call VBOX_GCC_CHECK_LD,--as-needed,)"980 974 ifneq ($(BUILD_TARGET),l4) 981 975 @# Set default attribute for ELF and MACH-O symbols to ``hidden'' to reduce the number
Note:
See TracChangeset
for help on using the changeset viewer.