Skip to content

Commit

Permalink
Merge pull request #48 from discord/cdx/use-nix-gcc
Browse files Browse the repository at this point in the history
Avoid using Xcode 15's gcc when compiling glog
  • Loading branch information
stevenpetryk authored Nov 29, 2023
2 parents ffde22b + 5c6b776 commit d8f198c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ios-configure-glog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ EOF
patch -p1 config.sub fix_glog_0.3.5_apple_silicon.patch
fi

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

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

0 comments on commit d8f198c

Please sign in to comment.