Skip to content

Commit

Permalink
qmake: Remove /O3 from win32-icc
Browse files Browse the repository at this point in the history
Use O3 causes warnings when combined with O2, so just remove it.

Partially revert commit 11111c5

Change-Id: Ifbf6e024e35933ecc3610d6efc3423589dab9a38
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
  • Loading branch information
wangwenx190 committed Nov 19, 2019
1 parent 6a7a4aa commit 9567103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmake/Makefile.win32
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ QMKSRC = $(SOURCE_PATH)\qmake
!if "$(QMAKESPEC)" == "win32-icc"
CXX = icl
LINKER = xilink
CFLAGS_EXTRA = /Zc:forScope /Qstd=c++11 /O3
CFLAGS_EXTRA = /Zc:forScope /Qstd=c++11
!elseif "$(QMAKESPEC)" == "win32-clang-msvc"
CXX = clang-cl
LINKER = lld-link
Expand Down

0 comments on commit 9567103

Please sign in to comment.