VirtualBox

Changeset 2702 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
May 17, 2007 6:39:50 PM (18 years ago)
Author:
vboxsync
Message:

prevent ugly messages if CC or CXX are not used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r2696 r2702  
    858858        @# Set default attribute for ELF and MACH-O symbols to ``hidden'' to reduce the number
    859859        @# 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"
    862864        $(APPEND) "$@" "endif"
    863865endif
     
    865867        @# Set default attribute for inline functions to ``hidden'' to reduce the number
    866868        @# 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"
    869873        $(APPEND) "$@" "endif"
    870874endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette