diff options
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r-- | subsurface-configure.pri | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index 0fe09fa80..e62bd1134 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -11,9 +11,12 @@ # turned on every once in a while in case they do show the occasional # actual bug *-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-pointer-sign -fno-strict-overflow -*-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized *-clang*: QMAKE_CFLAGS += -Wno-format-security -*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized -fno-strict-overflow +*-g++*: QMAKE_CXXFLAGS += -fno-strict-overflow +!mac: { +*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized +*-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized +} !win32-msvc*: QMAKE_CFLAGS += -std=gnu99 |