diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 08:12:40 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 07:26:56 -0700 |
commit | 46ff506096e6a2dd1ac2f3b7a8076cc5cb9c6d7a (patch) | |
tree | 5640a1441bdeed1ce9ca9851d63c6bb0309dedbc /packaging | |
parent | d7e31ebbcd2966ed31e0fe371e1362a6296d619d (diff) | |
download | subsurface-46ff506096e6a2dd1ac2f3b7a8076cc5cb9c6d7a.tar.gz |
build-system: iOS only turn off specific warnings
Turning off all warnings (-w) was too radical.
Only turning off specific warnings.
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/ios/Subsurface-mobile.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index c693c448d..763149242 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -217,8 +217,8 @@ include(./deployment.pri) include(../../mobile-widgets/qml/kirigami/kirigami.pri) # Supress some warnings -QMAKE_CXXFLAGS += -w -QMAKE_CFLAGS += -w +QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers +QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers ios { QMAKE_ASSET_CATALOGS += ./storeIcon.xcassets |