Skip to content

Commit

Permalink
Use env to set CC
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Jun 20, 2017
1 parent 1d63f4e commit ed828ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ios-configure-glog.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

export CC="$(xcrun -find -sdk iphoneos cc) -arch armv7 -isysroot $(xcrun -sdk iphoneos --show-sdk-path)"
export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"

./configure --host arm-apple-darwin
Expand Down

0 comments on commit ed828ca

Please sign in to comment.