VirtualBox

Changeset 79483 in vbox


Ignore:
Timestamp:
Jul 3, 2019 2:37:12 AM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,x11/VBoxClient: Disabled runtime type info for GA components (VBoxClient) and enabled RT_NEED_NEW_AND_DELETE so we can skip linking against supc++ and gcc_eh.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r79441 r79483  
    70347034 TEMPLATE_VBOXGUESTR3EXE_EXTENDS  = VBOXR3EXE
    70357035 TEMPLATE_VBOXGUESTR3EXE_TOOL    := $(subst GXX,GCC,$(TEMPLATE_VBOXR3EXE_TOOL))
    7036  TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions
     7036 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions -fno-rtti
    70377037 # Do not inherit sanitizer flags from VBOXR3EXE in guest executables.  Deal with them separately.
    70387038 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS.debug = $(NO_SUCH_VARIABLE)
     
    70437043endif
    70447044TEMPLATE_VBOXGUESTR3EXE_INST      = $(INST_ADDITIONS)
    7045 TEMPLATE_VBOXGUESTR3EXE_DEFS     := $(filter-out $(ARCH_BITS_DEFS), $(TEMPLATE_VBOXR3EXE_DEFS)) IN_GUEST IN_GUEST_R3 IN_RT_R3 $(VBOX_GC_ARCH_BITS_DEFS)
     7045TEMPLATE_VBOXGUESTR3EXE_DEFS     := $(filter-out $(ARCH_BITS_DEFS), $(TEMPLATE_VBOXR3EXE_DEFS)) IN_GUEST IN_GUEST_R3 IN_RT_R3 $(VBOX_GC_ARCH_BITS_DEFS) RT_NEED_NEW_AND_DELETE
    70467046TEMPLATE_VBOXGUESTR3EXE_DEFS.linux := $(TEMPLATE_VBOXR3EXE_DEFS.linux) LOG_USE_C99 RT_WITHOUT_EXEC_ALLOC
    70477047ifeq ($(KBUILD_TARGET),linux) # As few libs as possible on linux.
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r78946 r79483  
    6565 endif
    6666endif
    67 
    68 # These are static replacements for gcc-specific parts of libstdc++
    69 VBoxClient_LIBS += \
    70         supc++ \
    71         gcc_eh
    7267
    7368# This forces the memcpy references in the static libraries to go to
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