From 5c0038c6b709ca920028b0b904793071f2d48283 Mon Sep 17 00:00:00 2001 From: Joseph Heenan Date: Wed, 25 Feb 2015 15:03:26 +0000 Subject: iOS: Suppress warnings about unused functions There are a fair number of warnings about unused functions, mostly in third-party modules, and we would like the build to be warning free. We need to change the main Makefile, as -Wall is currently added in Makerules, and we need our -Wno-unused-function in XCFLAGS to be after -Wall on the command line for it to have any effect. --- platform/ios/build_libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/ios/build_libs.sh') diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh index 966a0b7e..4882575b 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="" +FLAGS="-Wno-unused-function" for A in $ARCHS do FLAGS="$FLAGS -arch $A" -- cgit v1.2.3