summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-22 13:54:11 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-11-07 18:55:46 +0100
commit2a512371183c110d67064b4785d599ea6a44081e (patch)
treebd84f82652c50bbd6008807f9f429e85abf84768
parent75023ba5ae1ed4dc3fd26a2fd7f362cbd2fbc0c5 (diff)
ios: Use -Wno-error=implicit-function-declaration
Many configure checks use implicit function declarations and fail because of this now on iOS x86-64. The new XCode makes them errors instead of warnings.
-rw-r--r--config/ios.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ios.config b/config/ios.config
index b210fa9d..3cb4f193 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -75,7 +75,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++'
- extra_cflags += ' -Wno-error=format-nonliteral '
+ extra_cflags += ' -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration '
else:
os.environ['CC']= 'llvm-gcc-4.2'
os.environ['CXX']= 'llvm-g++-4.2'