- Timestamp:
- Jan 7, 2019 7:26:37 AM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r76667 r76668 2287 2287 2288 2288 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 2289 VBoxGlobal_USES += gccprecomp 2290 VBoxGlobal_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2291 #VBoxGlobal_CXXFLAGS.linux += -H 2292 2293 VirtualBox_USES += gccprecomp 2294 VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2295 #VirtualBox_CXXFLAGS.linux += -H 2296 2297 VirtualBoxVM_USES += gccprecomp 2298 VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2299 #VirtualBoxVM_CXXFLAGS.linux += -H 2300 2301 # GCC precompiled headers seems to work more efficiently when #pragma once is involved. 2302 # So, we've cooked our own camel cased qt wrapper headers with #pragma once inside. 2303 VBOX_GUI_INC_DIRS <= precomptricks 2289 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 2290 VBoxGlobal_USES += gccprecomp 2291 VBoxGlobal_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2292 #VBoxGlobal_CXXFLAGS.linux += -H 2293 2294 VirtualBox_USES += gccprecomp 2295 VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2296 #VirtualBox_CXXFLAGS.linux += -H 2297 2298 VirtualBoxVM_USES += gccprecomp 2299 VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h 2300 #VirtualBoxVM_CXXFLAGS.linux += -H 2301 2302 # GCC precompiled headers seems to work more efficiently when #pragma once is involved. 2303 # So, we've cooked our own camel cased qt wrapper headers with #pragma once inside. 2304 VBOX_GUI_INC_DIRS <= precomptricks 2305 endif 2304 2306 endif 2305 2307 endif -
trunk/src/VBox/Main/Makefile.kmk
r76667 r76668 279 279 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/win/VBoxAPIWrap-precomp_vcc.h 280 280 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 281 VBoxAPIWrap_USES = gccprecomp 282 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/xpcom/VBoxAPIWrap-precomp_gcc.h 281 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 282 VBoxAPIWrap_USES = gccprecomp 283 VBoxAPIWrap_PCH_HDR := $(PATH_SUB_CURRENT)/src-all/xpcom/VBoxAPIWrap-precomp_gcc.h 284 endif 283 285 endif 284 286 VBoxAPIWrap_SOURCES = \ … … 412 414 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/win/precomp_vcc.h 413 415 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 414 VBoxSVC_USES += gccprecomp 415 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/xpcom/precomp_gcc.h 416 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 417 VBoxSVC_USES += gccprecomp 418 VBoxSVC_PCH_HDR := $(PATH_SUB_CURRENT)/src-server/xpcom/precomp_gcc.h 419 endif 416 420 endif 417 421 ## r=bird: If you really think you might need VBOX_WITH_RECORDING and VBOX_WITH_AUDIO_RECORDING both here and for … … 812 816 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/win/precomp_vcc.h 813 817 else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS) 814 VBoxC_USES += gccprecomp 815 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/xpcom/precomp_gcc.h 818 if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header. 819 VBoxC_USES += gccprecomp 820 VBoxC_PCH_HDR := $(PATH_SUB_CURRENT)/src-client/xpcom/precomp_gcc.h 821 endif 816 822 endif 817 823 VBoxC_DEFS = \
Note:
See TracChangeset
for help on using the changeset viewer.