diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-21 05:03:56 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-21 05:03:56 -0800 |
commit | 33b15ea906bb776511b0109ac3b1fa8daf959764 (patch) | |
tree | da15904914741193a1e79080d76e9ec45d5c4969 /subsurface-configure.pri | |
parent | cd0475fe961ba65b65dd8cc707167c218c2b8649 (diff) | |
download | subsurface-33b15ea906bb776511b0109ac3b1fa8daf959764.tar.gz |
Silence some warnings when building on Mac
The *-clang* selector doesn't appear to work correctly in my build environment
(or I just don't understand how it is supposed to work). Either way, making
this conditional on !mac works.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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 |