mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
cd0475fe96
commit
33b15ea906
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue