Changeset 2680 in vbox for trunk/Config.kmk
- Timestamp:
- May 16, 2007 9:09:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r2677 r2680 627 627 # -funwind-tables provides support for backtraces in gdb then. 628 628 VBOX_GCC_FP ?= -fno-omit-frame-pointer 629 VBOX_GCC_OPT ?= -O2 629 VBOX_GCC_OPT ?= -O2 $(VBOX_GCC_mtune-generic) 630 630 VBOX_VCC_FP ?= -Oy- 631 631 ifdef VBOX_USE_VCC80 … … 635 635 endif 636 636 VBOX_GCC_GC_FP ?= -fno-omit-frame-pointer 637 VBOX_GCC_GC_OPT ?= -O2 637 VBOX_GCC_GC_OPT ?= -O2 $(VBOX_GCC_mtune-generic) 638 638 VBOX_VCC_GC_FP ?= -Oy- 639 639 ifdef VBOX_USE_VCC80 … … 853 853 $(APPEND) "$@" "VBOX_GCC_Wno-extra ?= $(call VBOX_GCC_CHECK_CXX,-Wno-extra)" 854 854 $(APPEND) "$@" "VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)" 855 @# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2. 856 $(APPEND) "$@" "VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)" 855 857 ifneq ($(BUILD_TARGET),l4) 856 858 @# Set default attribute for ELF and MACH-O symbols to ``hidden'' to reduce the number 857 859 @# of relocation entries and PLT indirections in shared libraries. Don't allow for gcc version < 4. 858 860 $(APPEND) "$@" "ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CC),40000),)" 859 $(APPEND) "$@" " VBOX_GCC_fvisibility-hidden 861 $(APPEND) "$@" " VBOX_GCC_fvisibility-hidden ?= $(call VBOX_GCC_CHECK_CC,-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN,)" 860 862 $(APPEND) "$@" "endif" 861 863 endif
Note:
See TracChangeset
for help on using the changeset viewer.