VirtualBox

Changeset 36810 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Apr 21, 2011 11:15:18 PM (14 years ago)
Author:
vboxsync
Message:

Additions/x11/VBoxClient: drop static libstdc++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r36805 r36810  
    7070 VBoxClient_DEFS += VBOX_WITH_GUEST_PROPS
    7171endif
    72 #
    73 # Link against libstdc++.a. (http://www.trilithium.com/johan/2005/06/static-libstdc/).
    74 # (It would've been preferred to avoid features depending on libstdc++, of course...)
    75 #
    76 # Actually, this is darn annoying and will *NOT* be tolerated for any new code!
    77 #
    78 VBoxClient_LIBPATH  += $(VBoxClient_0_OUTDIR)
    79 VBoxClient_ORDERDEPS = $(VBoxClient_0_OUTDIR)/libstdc++.a
    80 VBoxClient_CLEAN     = $(VBoxClient_0_OUTDIR)/libstdc++.a
    81 $$(VBoxClient_0_OUTDIR)/libstdc++.a:
    82         $(call MSG_L1,Forcing static libstdc++)
    83         $(QUIET)$(MKDIR) -p $(@D)
    84         $(QUIET)$(LN_EXT) -sf `$(TOOL_$(VBOX_GCC_TOOL)_CXX) $(TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS.$(KBUILD_TARGET_ARCH)) -print-file-name=libstdc++.a` $@ \
    85              || $(CP_EXT) -f  `$(TOOL_$(VBOX_GCC_TOOL)_CXX) $(TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS.$(KBUILD_TARGET_ARCH)) -print-file-name=libstdc++.a` $@
    8672
    8773ifdef VBOX_X11_SEAMLESS_GUEST
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