Browse Source

Update to Clang 20 on Mac because GCC 15 fails to build Clang 15.

v2
Andrew Belt 1 month ago
parent
commit
5ab6ccc409
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -80,7 +80,7 @@ $(toolchain-win): $(crosstool-ng)
rm -rf .build .config build.log rm -rf .build .config build.log




OSXCROSS_CLANG_VERSION := 15.0.7
OSXCROSS_CLANG_VERSION := 20.1.1
OSXCROSS_BINUTILS_VERSION := 2.37 OSXCROSS_BINUTILS_VERSION := 2.37


toolchain-mac := $(LOCAL_DIR)/osxcross toolchain-mac := $(LOCAL_DIR)/osxcross
@@ -89,7 +89,7 @@ $(toolchain-mac): export PATH := $(LOCAL_DIR)/osxcross/bin:$(PATH)
$(toolchain-mac): $(toolchain-mac):
# Obtain osxcross sources. # Obtain osxcross sources.
git clone "https://github.com/tpoechtrager/osxcross.git" osxcross git clone "https://github.com/tpoechtrager/osxcross.git" osxcross
cd osxcross && git checkout 611675b5179c4a9a5e33eac6c376ed8f986bab21
cd osxcross && git checkout 4372d5560307c649af5dbbfa20b39199c9ef48be


# Build a custom clang compiler using the system's gcc compiler. # Build a custom clang compiler using the system's gcc compiler.
# This enables us to have custom compiler environment needed for cross-compilation. # This enables us to have custom compiler environment needed for cross-compilation.


Loading…
Cancel
Save