Skip to content

Commit

Permalink
Fix configure glog script
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed May 31, 2017
1 parent adaf2bf commit 33b6cf9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/ios-configure-glog.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 33b6cf9

Please sign in to comment.