Skip to content

Commit d8f198c

Browse files
authored
Merge pull request #48 from discord/cdx/use-nix-gcc
Avoid using Xcode 15's gcc when compiling glog
2 parents ffde22b + 5c6b776 commit d8f198c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ios-configure-glog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ EOF
4242
patch -p1 config.sub fix_glog_0.3.5_apple_silicon.patch
4343
fi
4444

45-
export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
46-
export CXX="$CC"
45+
# export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
46+
# export CXX="$CC"
4747

4848
# Remove automake symlink if it exists
4949
if [ -h "test-driver" ]; then

0 commit comments

Comments
 (0)