VirtualBox

Changeset 28988 in vbox


Ignore:
Timestamp:
May 3, 2010 9:14:15 PM (15 years ago)
Author:
vboxsync
Message:

Config.kmk: Attempt at fixing VBOXR3NP's LDFLAGS.darwin by deriving from VBOXR3 instead of VBOXR3NPEXE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r28896 r28988  
    29462946TEMPLATE_VBOXR3NPEXE_EXTENDS             = VBOXR3EXE
    29472947ifneq ($(KBUILD_TARGET),win) # (only gcc)
    2948  TEMPLATE_VBOXR3NPEXE_TOOL                = $(VBOX_GCC_TOOL)
    2949  TEMPLATE_VBOXR3NPEXE_CXXFLAGS            = $(filter-out -pedantic -Wshadow,$(TEMPLATE_VBOXR3EXE_CXXFLAGS)) -Wno-sign-compare
    2950  TEMPLATE_VBOXR3NPEXE_CFLAGS              = $(filter-out -pedantic -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations,$(TEMPLATE_VBOXR3EXE_CFLAGS)) -Wno-sign-compare
     2948 TEMPLATE_VBOXR3NPEXE_TOOL               = $(VBOX_GCC_TOOL)
     2949 TEMPLATE_VBOXR3NPEXE_CXXFLAGS           = $(filter-out -pedantic -Wshadow,$(TEMPLATE_VBOXR3EXE_CXXFLAGS)) -Wno-sign-compare
     2950 TEMPLATE_VBOXR3NPEXE_CFLAGS             = $(filter-out -pedantic -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations,$(TEMPLATE_VBOXR3EXE_CFLAGS)) -Wno-sign-compare
    29512951endif
    29522952
     
    29542954#
    29552955# Template for building bad C/C++ style R3 shared libraries / Dlls (no -pedantic).
    2956 # This is mostly identical to the VBOXR3NPEXE template.
     2956# (Same transformation as for VBOXR3NPEXE.)
    29572957#
    29582958TEMPLATE_VBOXR3NP= VBox Ring 3 Non-pedantic
     2959if 1
     2960TEMPLATE_VBOXR3NP_EXTENDS = VBOXR3
     2961ifneq ($(KBUILD_TARGET),win) # (only gcc)
     2962 TEMPLATE_VBOXR3NP_TOOL                  = $(VBOX_GCC_TOOL)
     2963 TEMPLATE_VBOXR3NP_CXXFLAGS              = $(filter-out -pedantic -Wshadow,$(TEMPLATE_VBOXR3_CXXFLAGS)) -Wno-sign-compare
     2964 TEMPLATE_VBOXR3NP_CFLAGS                = $(filter-out -pedantic -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations,$(TEMPLATE_VBOXR3_CFLAGS)) -Wno-sign-compare
     2965endif
     2966else #old, wrong LDFLAGS.darwin
    29592967TEMPLATE_VBOXR3NP_EXTENDS = VBOXR3NPEXE
    29602968TEMPLATE_VBOXR3NP_LDFLAGS.l4 = \
     
    29712979 endif
    29722980endif
     2981endif # old
    29732982
    29742983
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