Changeset 2702 in vbox for trunk/Config.kmk
- Timestamp:
- May 17, 2007 6:39:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r2696 r2702 858 858 @# Set default attribute for ELF and MACH-O symbols to ``hidden'' to reduce the number 859 859 @# of relocation entries and PLT indirections in shared libraries. Don't allow for gcc version < 4. 860 $(APPEND) "$@" "ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CC),40000),)" 861 $(APPEND) "$@" " VBOX_GCC_fvisibility-hidden ?= $(call VBOX_GCC_CHECK_CC,-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN,)" 860 $(APPEND) "$@" "ifneq ($$(VBOX_GCC_VERSION_CC),)" 861 $(APPEND) "$@" " ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CC),40000),)" 862 $(APPEND) "$@" " VBOX_GCC_fvisibility-hidden ?= $(call VBOX_GCC_CHECK_CC,-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN,)" 863 $(APPEND) "$@" " endif" 862 864 $(APPEND) "$@" "endif" 863 865 endif … … 865 867 @# Set default attribute for inline functions to ``hidden'' to reduce the number 866 868 @# of relocation entries and PLT indirections in shared libraries. Don't allow for gcc version < 4. 867 $(APPEND) "$@" "ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40000),)" 868 $(APPEND) "$@" " VBOX_GCC_fvisibility-inlines-hidden ?= $(call VBOX_GCC_CHECK_CXX,-fvisibility-inlines-hidden,)" 869 $(APPEND) "$@" "ifneq ($$(VBOX_GCC_VERSION_CXX),)" 870 $(APPEND) "$@" " ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CXX),40000),)" 871 $(APPEND) "$@" " VBOX_GCC_fvisibility-inlines-hidden ?= $(call VBOX_GCC_CHECK_CXX,-fvisibility-inlines-hidden,)" 872 $(APPEND) "$@" " endif" 869 873 $(APPEND) "$@" "endif" 870 874 endif
Note:
See TracChangeset
for help on using the changeset viewer.