diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-09-16 12:33:49 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-07 18:54:42 +0100 |
commit | b9712428d016256ef71cf8ff529e5304b87387ef (patch) | |
tree | 518dc9e0ea3b1d5bd5662d643eaaec91c866a319 | |
parent | a5ba1db600b01dac9e04c1020ed4b40b79a542d5 (diff) |
ios: Remove useless compiler warning flag
Having these warnings is useful, we just don't want them to cause errors.
-rw-r--r-- | config/ios.config | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/ios.config b/config/ios.config index d90918a3..f56283c1 100644 --- a/config/ios.config +++ b/config/ios.config @@ -77,10 +77,7 @@ else: if target_distro_version in [DistroVersion.IOS_7_0, DistroVersion.IOS_7_1, DistroVersion.IOS_8_0, DistroVersion.IOS_8_1]: 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' |