diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-16 09:15:40 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-16 09:15:40 +0000 |
| commit | ce584238e66a32f93c1af4d16bfe4a1928e25b88 (patch) | |
| tree | a3b91ec06761d16a85ac45ca876f9610d597c867 /tools | |
| parent | b439592cf8113f34240095dcd6d8b6196c7d87c7 (diff) | |
fix(build): select the macOS SDK before compiler detection
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build-static-lld.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build-static-lld.sh b/tools/build-static-lld.sh index 407e814..2c2f77e 100644 --- a/tools/build-static-lld.sh +++ b/tools/build-static-lld.sh @@ -36,6 +36,7 @@ fi set -- if [ "$(uname -s)" = Darwin ]; then set -- "-DCMAKE_OSX_ARCHITECTURES=$(uname -m)" \ + "-DCMAKE_OSX_SYSROOT=$(xcrun --show-sdk-path)" \ "-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-15.0}" fi cmake -S "$work/src/lld" -B "$work/build" \ |
