From 1d63f4e7074dbc8237656159b5da9e7533b1258d Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Tue, 30 May 2017 22:26:21 -0400 Subject: [PATCH] Fix configure glog script --- scripts/ios-configure-glog.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/ios-configure-glog.sh b/scripts/ios-configure-glog.sh index 92b7f31d154c5a..de9eeea5614b9b 100755 --- a/scripts/ios-configure-glog.sh +++ b/scripts/ios-configure-glog.sh @@ -1,11 +1,8 @@ #!/bin/bash set -e -# Only set when not running in an Xcode context -if [ -z "$ACTION" ] || [ -z "$BUILD_DIR" ]; then - export CC="$(xcrun -find -sdk iphoneos cc) -arch armv7 -isysroot $(xcrun -sdk iphoneos --show-sdk-path)" - export CXX="$CC" -fi +export CC="$(xcrun -find -sdk iphoneos cc) -arch armv7 -isysroot $(xcrun -sdk iphoneos --show-sdk-path)" +export CXX="$CC" ./configure --host arm-apple-darwin