nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 1.3 kB view raw
1diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh 2index 1bad14cba7..d312fe08bb 100755 3--- a/scripts/bootstrap/compile.sh 4+++ b/scripts/bootstrap/compile.sh 5@@ -402,7 +402,7 @@ cp $OUTPUT_DIR/libblaze.jar ${ARCHIVE_DIR} 6 # TODO(b/28965185): Remove when xcode-locator is no longer required in embedded_binaries. 7 log "Compiling xcode-locator..." 8 if [[ $PLATFORM == "darwin" ]]; then 9- run /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices -framework Foundation -o ${ARCHIVE_DIR}/xcode-locator tools/osx/xcode_locator.m 10+ run @clangDarwin@ -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices -framework Foundation -o ${ARCHIVE_DIR}/xcode-locator tools/osx/xcode_locator.m 11 else 12 cp tools/osx/xcode_locator_stub.sh ${ARCHIVE_DIR}/xcode-locator 13 fi 14diff --git a/tools/osx/BUILD b/tools/osx/BUILD 15index 5b99589ad4..3d3269772b 100644 16--- a/tools/osx/BUILD 17+++ b/tools/osx/BUILD 18@@ -27,7 +27,7 @@ exports_files([ 19 ]) 20 21 DARWIN_XCODE_LOCATOR_COMPILE_COMMAND = """ 22- /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices \ 23+ @clangDarwin@ -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices \ 24 -framework Foundation -arch arm64 -arch x86_64 -o $@ $< 25 """ 26 27