VirtualBox

Changeset 88284 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Mar 24, 2021 8:39:53 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143495
Message:

ValKit/Config.kmk: Link against libsupc++ only when g++ is older than 4.8 (may need polishing, all I know at this point is that gcc 4.8.5 on OL7 doesn't have it and doesn't need it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/Config.kmk

    r84631 r88284  
    5252TEMPLATE_VBoxValidationKitR3Base_LIBS = $(TEMPLATE_VBoxR3Static_LIBS)
    5353if1of ($(KBUILD_TARGET), linux)
    54  TEMPLATE_VBoxValidationKitR3Base_LIBS += supc++
    55  TEMPLATE_VBoxValidationKitR3Base_LDTOOL = $(subst GXX,GCC,$(TEMPLATE_VBoxR3Static_TOOL))
     54 if $(VBOX_GCC_VERSION_CXX) < 40800
     55  TEMPLATE_VBoxValidationKitR3Base_LIBS += supc++
     56  TEMPLATE_VBoxValidationKitR3Base_LDTOOL = $(subst GXX,GCC,$(TEMPLATE_VBoxR3Static_TOOL))
     57 endif
    5658endif
    5759TEMPLATE_VBoxValidationKitR3Base_LDFLAGS.darwin = $(TEMPLATE_VBoxR3Static_LDFLAGS.darwin) -framework IOKit
Note: See TracChangeset for help on using the changeset viewer.

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