summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-16 12:33:49 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-09-16 12:34:21 +0300
commit88be12d9a5edb6fca0bce82cc4cb06c06612f05f (patch)
treef7b47d7adc7dc4617694947fd5d242046e13e3dd /config
parentf93b40bdb2589878d0c3eab5623d36500aad9bd3 (diff)
ios: Remove useless compiler warning flag
Having these warnings is useful, we just don't want them to cause errors.
Diffstat (limited to 'config')
-rw-r--r--config/ios.config5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/ios.config b/config/ios.config
index cd300a6b..789c3a5c 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -81,10 +81,7 @@ else:
if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0]:
os.environ['CC']= 'clang'
os.environ['CXX']= 'clang++'
- if target_distro_version == DistroVersion.IOS_8_0:
- extra_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument '
- else:
- extra_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument-hard-error-in-future '
+ extra_cflags += ' -Wno-error=format-nonliteral '
else:
os.environ['CC']= 'llvm-gcc-4.2'
os.environ['CXX']= 'llvm-g++-4.2'