ref: 000c276ffaea3a6593efbf1351fe6e1c927a4121
parent: 933619766383f9797d0486f8f3c5f00060a48a5f
author: Johann <johannkoenig@google.com>
date: Tue Mar 27 06:41:54 EDT 2018
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
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1394,7 +1394,8 @@
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.