From 000c276ffaea3a6593efbf1351fe6e1c927a4121 Mon Sep 17 00:00:00 2001 From: Johann Date: Tue, 27 Mar 2018 10:41:54 -0700 Subject: [PATCH] ios configure: quiet shell warning Generating file lists on a non-mac with: --target=x86-iphonsimulator-gcc --enable-external-build the lack of xcrun would cause a warning to print: libvpx/build/make/configure.sh: line 1397: [: : integer expression expected Change-Id: I4623b6c5b65296bc71986cd042823f4be9427b42 --- build/make/configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 60fc36e43..a6c76612f 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1394,7 +1394,8 @@ EOF add_cflags ${sim_arch} add_ldflags ${sim_arch} - if [ "$(show_darwin_sdk_major_version iphonesimulator)" -gt 8 ]; then + if [ "$(disabled external_build)" ] && + [ "$(show_darwin_sdk_major_version iphonesimulator)" -gt 8 ]; then # yasm v1.3.0 doesn't know what -fembed-bitcode means, so turning it # on is pointless (unless building a C-only lib). Warn the user, but # do nothing here.