diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-02-26 11:35:10 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-03-02 13:47:28 +0000 |
commit | 30683e4917d08f0d1cdf18c0d9b40d6a6264e93d (patch) | |
tree | 4464071e5e79318be56e4a1d90b457efc8fc695c /src | |
parent | cca5f0b27f4d3bd67e09363868c4cb300e804483 (diff) |
Only set fastbuild once on the gyp commandline
We were setting it to both 1 and 2.
Change-Id: I1b2a063d06e3cb664ae587dd6dc78fa589297c4b
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/config/windows.pri | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/core/config/windows.pri b/src/core/config/windows.pri index ab4037d1f..f2742861b 100644 --- a/src/core/config/windows.pri +++ b/src/core/config/windows.pri @@ -11,9 +11,6 @@ GYP_CONFIG += \ no_spellcheck: GYP_CONFIG += enable_spellcheck=0 else: GYP_CONFIG += enable_spellcheck=1 -# Chromium builds with debug info in release by default but Qt doesn't -CONFIG(release, debug|release):!force_debug_info: GYP_CONFIG += fastbuild=1 - # Libvpx build needs additional search path on Windows. GYP_ARGS += "-D qtwe_chromium_obj_dir=\"$$OUT_PWD/$$getConfigDir()/obj/$${getChromiumSrcDir()}\"" @@ -53,6 +50,14 @@ defineTest(usingMSVC32BitCrossCompiler) { return(false) } +msvc:contains(QT_ARCH, "i386"):!usingMSVC32BitCrossCompiler() { + # The 32 bit MSVC linker runs out of memory if we do not remove all debug information. + GYP_CONFIG += fastbuild=2 +} else { + # Chromium builds with debug info in release by default but Qt doesn't + CONFIG(release, debug|release):!force_debug_info: GYP_CONFIG += fastbuild=1 +} + msvc { equals(MSVC_VER, 12.0) { MSVS_VERSION = 2013 @@ -70,10 +75,6 @@ msvc { PROGRAM_FILES_X86 = $$(ProgramW6432) isEmpty(PROGRAM_FILES_X86): GYP_ARGS += "-D windows_sdk_path=\"C:/Program Files/Windows Kits/8.1\"" - contains(QT_ARCH, "i386"):!usingMSVC32BitCrossCompiler() { - # The 32 bit MSVC linker runs out of memory if we do not remove all debug information. - GYP_CONFIG += fastbuild=2 - } } else { fatal("Qt WebEngine for Windows can only be built with the Microsoft Visual Studio C++ compiler") } |