From b9712428d016256ef71cf8ff529e5304b87387ef Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Tue, 16 Sep 2014 12:33:49 +0300 Subject: ios: Remove useless compiler warning flag Having these warnings is useful, we just don't want them to cause errors. --- config/ios.config | 5 +---- 1 file changed, 1 insertion(+), 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' -- cgit v1.2.3