summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-28 12:13:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-28 15:29:18 -0800
commitaf970206347829e2da81fe15d161dd2550a09499 (patch)
treecb557a9d3626a26b8facc9cdc18422be02515890
parentd0f807f0eda281e65d3d1c24d5d2cce1f7381479 (diff)
downloadsubsurface-af970206347829e2da81fe15d161dd2550a09499.tar.gz
subsurface-configure.pri: exclude -Wno-maybe-uninitialized on win32
On native Windows the suggested compiler for Qt4.8 is mingw-gcc-4.4.0, which does not has the -Wno-maybe-uninitialized flag (yet). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-configure.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index e62bd1134..a27f2592a 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -13,7 +13,7 @@
*-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-pointer-sign -fno-strict-overflow
*-clang*: QMAKE_CFLAGS += -Wno-format-security
*-g++*: QMAKE_CXXFLAGS += -fno-strict-overflow
-!mac: {
+!win32: !mac: {
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized
*-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized
}