summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-02-07 17:47:30 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-10 15:23:01 +0100
commit8f7716c32cfc801b9dfed62126773fc7e4a39e01 (patch)
treeb89f8fea4cbd80291d48e684f536041a10010fd5 /qmake
parent8f8e3db6ae1328bb03e46dbbdea0d787b656bb97 (diff)
lower qmake optimization level on msvc
-O2 triggers an optimizer bug where compiling unixmake*.cpp would take several minutes each. -O1 is not measurably slower, so use that instead. Change-Id: Ibf8abbecdd69e35cef800841f781543121168f76 Reviewed-by: Kai Koehne <kai.koehne@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/Makefile.win322
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/Makefile.win32 b/qmake/Makefile.win32
index 3efe6a67e0..767237fcfc 100644
--- a/qmake/Makefile.win32
+++ b/qmake/Makefile.win32
@@ -29,7 +29,7 @@ CFLAGS_EXTRA = /MP
!endif
CFLAGS_BARE = -c -Fo./ \
- -W3 -nologo -O2 \
+ -W3 -nologo -O1 \
$(CFLAGS_EXTRA) \
-I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\integrity \
-I$(BUILD_PATH)\include -I$(BUILD_PATH)\include\QtCore -I$(BUILD_PATH)\include\QtCore\$(QT_VERSION) -I$(BUILD_PATH)\include\QtCore\$(QT_VERSION)\QtCore \