summaryrefslogtreecommitdiff
path: root/platform/ios/build_libs.sh
diff options
context:
space:
mode:
authorJoseph Heenan <joseph@emobix.co.uk>2015-02-25 15:13:14 +0000
committerJoseph Heenan <joseph@emobix.co.uk>2015-02-25 16:06:04 +0000
commit5ac47f792e06091ae96bc30feb7d708ee5e077b1 (patch)
treed312eb1a25e0ba85e4aa842c051a86955bc97f97 /platform/ios/build_libs.sh
parent5c0038c6b709ca920028b0b904793071f2d48283 (diff)
downloadmupdf-5ac47f792e06091ae96bc30feb7d708ee5e077b1.tar.xz
iOS: Disable empty body warning
This silences this warning: thirdparty/jbig2dec/jbig2_text.c:899:73: warning: for loop has empty body [-Wempty-body] for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++); ^ thirdparty/jbig2dec/jbig2_text.c:899:73: note: put the semicolon on a separate line to silence this warning
Diffstat (limited to 'platform/ios/build_libs.sh')
-rw-r--r--platform/ios/build_libs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh
index 4882575b..77d1406a 100644
--- a/platform/ios/build_libs.sh
+++ b/platform/ios/build_libs.sh
@@ -14,7 +14,7 @@ fi
export OS=ios
export build=$(echo $CONFIGURATION | tr A-Z a-z)
-FLAGS="-Wno-unused-function"
+FLAGS="-Wno-unused-function -Wno-empty-body"
for A in $ARCHS
do
FLAGS="$FLAGS -arch $A"