diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-09-13 19:32:05 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-07 18:54:23 +0100 |
commit | a5c850e9049db3ad0f76825c6d156dee8d9edcff (patch) | |
tree | a496642d80713da5844d0c62e543e9ac0bc09456 | |
parent | d5e3f1759ba4d8dd00a6c165efc6499274b2e3b6 (diff) |
ios: There is no -Wno-unused-command-line-argument-hard-error-in-future in newer clang
-rw-r--r-- | config/ios.config | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/ios.config b/config/ios.config index d7fc4310..cb77b943 100644 --- a/config/ios.config +++ b/config/ios.config @@ -76,7 +76,10 @@ 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++' - extra_cflags += ' -Wno-error=format-nonliteral -Wno-unused-command-line-argument-hard-error-in-future ' + 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 ' else: os.environ['CC']= 'llvm-gcc-4.2' os.environ['CXX']= 'llvm-g++-4.2' |