- Timestamp:
- Aug 7, 2012 11:42:25 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r42603 r42669 46 46 KBUILD_BLD_TYPES += dbgopt 47 47 BLD_TYPE_dbgopt_EXTENDS = debug 48 BLD_TYPE_dbgopt_EXTENDS_BY = appending48 BLD_TYPE_dbgopt_EXTENDS_BY = overriding 49 49 50 50 # Temporary hack for kBuild ticket #83. … … 3307 3307 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- -EHsc -GF -MD$(VBOX_VCC_CRT_TYPE) -W3 -wd4065 -wd4244 -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 3308 3308 TEMPLATE_VBOXR3EXE_CXXFLAGS.debug = -RTCsu 3309 TEMPLATE_VBOXR3EXE_CXXFLAGS.dbgopt = $(NO_SUCH_VARIABLE) 3309 3310 TEMPLATE_VBOXR3EXE_CXXFLAGS.kprofile = -Gh -GH 3310 3311 TEMPLATE_VBOXR3EXE_CFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) 3311 3312 TEMPLATE_VBOXR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.debug) 3313 TEMPLATE_VBOXR3EXE_CFLAGS.dbgopt = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.dbgopt) 3312 3314 TEMPLATE_VBOXR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.kprofile) 3313 3315 TEMPLATE_VBOXR3EXE_LDFLAGS = \ … … 3479 3481 else ifeq ($(KBUILD_TARGET),win) 3480 3482 TEMPLATE_VBoxR3DllNoPic_CFLAGS = $(TEMPLATE_VBOXR3_CFLAGS) $(VBOX_VCC_WERR) 3483 TEMPLATE_VBoxR3DllNoPic_CFLAGS.debug = $(filter-out -RTC%,$(TEMPLATE_VBOXR3_CFLAGS.debug)) 3481 3484 TEMPLATE_VBoxR3DllNoPic_CFLAGS.release = $(TEMPLATE_VBOXR3_CFLAGS.release) -GS- 3482 3485 TEMPLATE_VBoxR3DllNoPic_CXXFLAGS = $(TEMPLATE_VBOXR3_CXXFLAGS) $(VBOX_VCC_WERR) 3486 TEMPLATE_VBoxR3DllNoPic_CXXFLAGS.debug = $(filter-out -RTC%,$(TEMPLATE_VBOXR3_CXXFLAGS.debug)) # RTCsu Prevents IEM opt. 3483 3487 TEMPLATE_VBoxR3DllNoPic_CXXFLAGS.release = $(TEMPLATE_VBOXR3_CXXFLAGS.release) -GS- 3484 3488 TEMPLATE_VBoxR3DllNoPic_LDFLAGS = $(TEMPLATE_VBOXR3_LDFLAGS) $(VBOX_VCC_LD_WERR) … … 3825 3829 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR -EHsc -GF -MD$(VBOX_VCC_CRT_TYPE) -W3 -wd4065 -wd4996 -wd4250 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 3826 3830 TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug = -RTCsu 3831 TEMPLATE_VBOXMAINEXE_CXXFLAGS.dbgopt = $(NO_SUCH_VARIABLE) 3827 3832 TEMPLATE_VBOXMAINEXE_CXXFLAGS.kprofile = -Gh -GH 3828 3833 TEMPLATE_VBOXMAINEXE_CFLAGS = $(TEMPLATE_VBOXMAINEXE_CXXFLAGS) 3829 3834 TEMPLATE_VBOXMAINEXE_CFLAGS.debug = $(TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug) 3835 TEMPLATE_VBOXMAINEXE_CFLAGS.dbgopt = $(TEMPLATE_VBOXMAINEXE_CXXFLAGS.dbgopt) 3830 3836 TEMPLATE_VBOXMAINEXE_CFLAGS.kprofile = $(TEMPLATE_VBOXMAINEXE_CXXFLAGS.kprofile) 3831 3837 TEMPLATE_VBOXMAINEXE_LDFLAGS = \ … … 4222 4228 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS = -nologo -Zm200 -W3 -MD -Zi -EHsc -Zc:wchar_t- 4223 4229 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.debug = -RTCsu 4230 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.dbgopt = $(NO_SUCH_VARIABLE) 4224 4231 TEMPLATE_VBOXQT4GUIEXE_INCS += \ 4225 4232 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) … … 4394 4401 TEMPLATE_VBOXBLDPROG_CXXFLAGS := -Zi -Zl -GR- -EHsc -GF -W3 -wd4065 -wd4244 -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) -MT$(VBOX_VCC_CRT_TYPE) 4395 4402 TEMPLATE_VBOXBLDPROG_CXXFLAGS.debug := -RTCsu 4403 TEMPLATE_VBOXBLDPROG_CXXFLAGS.dbgopt = $(NO_SUCH_VARIABLE) 4396 4404 TEMPLATE_VBOXBLDPROG_CXXFLAGS.profile = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.release) 4397 4405 TEMPLATE_VBOXBLDPROG_CXXFLAGS.kprofile = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.release) 4398 4406 TEMPLATE_VBOXBLDPROG_CFLAGS = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS) 4399 4407 TEMPLATE_VBOXBLDPROG_CFLAGS.debug = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.debug) 4408 TEMPLATE_VBOXBLDPROG_CFLAGS.dbgopt = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.dbgopt) 4400 4409 TEMPLATE_VBOXBLDPROG_CFLAGS.release = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.release) 4401 4410 TEMPLATE_VBOXBLDPROG_CFLAGS.profile = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.profile) -
trunk/src/VBox/VMM/Makefile.kmk
r42175 r42669 655 655 # 656 656 if1of ($(KBUILD_TARGET), win) 657 #VMMAll/IEMAll.cpp_CXXFLAGS += TODO 658 #else if1of ($(KBUILD_TARGET_ARCH), amd64) 659 # VMMAll/IEMAll.cpp_CXXFLAGS += -O2 -fomit-frame-pointer 657 # -noover is recognized despite the statement saying otherwise. It silences these warnings: 658 # cl : Command line warning D9025 : overriding '/Od' with '/O2' 659 # cl : Command line warning D9025 : overriding '/Oy-' with '/Oy' 660 VMMAll/IEMAll.cpp_CXXFLAGS += -noover -O2xy 660 661 else 661 662 VMMAll/IEMAll.cpp_CXXFLAGS += -O2
Note:
See TracChangeset
for help on using the changeset viewer.