VirtualBox

Changeset 29387 in vbox


Ignore:
Timestamp:
May 11, 2010 6:08:20 PM (15 years ago)
Author:
vboxsync
Message:

Config.kmk: adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r29383 r29387  
    24802480        -fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time \
    24812481        -Wno-sign-compare -Wdeclaration-after-statement
    2482 TEMPLATE_VBOXR0DRV_CXXFLAGS            = $(filter-out -Wstrict-prototypes -Wno-pointer-sign -ffreestanding -Wdeclaration-after-statement,$(TEMPLATE_VBOXR0DRV_CFLAGS) $(TEMPLATE_VBOXR0DRV_CFLAGS.$(KBUILD_TARGET_ARCH))) -fno-exceptions -fno-rtti
     2482TEMPLATE_VBOXR0DRV_CXXFLAGS            = $(filter-out -Wstrict-prototypes -Wno-pointer-sign -ffreestanding -Wdeclaration-after-statement -Werror-implicit-function-declaration,$(TEMPLATE_VBOXR0DRV_CFLAGS) $(TEMPLATE_VBOXR0DRV_CFLAGS.$(KBUILD_TARGET_ARCH))) -fno-exceptions -fno-rtti
    24832483  ifndef VBOX_LINUX_VERSION_2_4
    24842484# 2.6
     
    31743174
    31753175TEMPLATE_VBOXMAINEXE_TOOL                = $(VBOX_GCC_TOOL)
    3176 ## @todo Why isn't this template using VBOX_GCC_PEDANTIC_CXX and VBOX_GCC_PEDANTIC_C?
     3176if 1 ## @todo Why isn't this template using VBOX_GCC_PEDANTIC_CXX?
     3177TEMPLATE_VBOXMAINEXE_CXXFLAGS            = -g -pipe \
     3178        $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) -Wno-long-long -Wno-non-virtual-dtor -Wshadow \
     3179        -fshort-wchar -fpermissive -fexceptions -frtti $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing \
     3180        $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden)
     3181else
    31773182TEMPLATE_VBOXMAINEXE_CXXFLAGS            = -g -pipe \
    31783183        $(VBOX_GCC_WARN) -Wno-long-long -Wno-non-virtual-dtor -Wshadow \
    31793184        -fshort-wchar -fpermissive -fexceptions -frtti $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing \
    31803185        $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden)
     3186endif
    31813187TEMPLATE_VBOXMAINEXE_CXXFLAGS.x86        = -m32
    31823188TEMPLATE_VBOXMAINEXE_CXXFLAGS.amd64      = -m64
    31833189TEMPLATE_VBOXMAINEXE_CXXFLAGS.kprofile   = -finstrument-functions
    3184 TEMPLATE_VBOXMAINEXE_CFLAGS              = -g -pipe \
    3185         $(VBOX_GCC_WARN) -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration -Wshadow \
     3190TEMPLATE_VBOXMAINEXE_CFLAGS              = -g -pipe $(VBOX_GCC_PEDANTIC_C) \
    31863191        $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing $(VBOX_GCC_fvisibility-hidden)
    31873192TEMPLATE_VBOXMAINEXE_CFLAGS.x86          = -m32
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