Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[build] Xcode 10 no longer exposes DEVELOPER_DIR to the compiler laun…
Browse files Browse the repository at this point in the history
…cher

We'll have to extract the location of Xcode's developer dir from $PATH :(
  • Loading branch information
kkaefer committed Jun 11, 2018
1 parent 0b883fd commit 7a76eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/launch-c-xcode.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

export CCACHE_CPP2=true
exec "@C_LAUNCHER@" "${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@"
exec "@C_LAUNCHER@" "${PATH%%/Contents/Developer/*}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" "$@"
2 changes: 1 addition & 1 deletion scripts/launch-cxx-xcode.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

export CCACHE_CPP2=true
exec "@CXX_LAUNCHER@" "${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" "$@"
exec "@CXX_LAUNCHER@" "${PATH%%/Contents/Developer/*}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" "$@"

0 comments on commit 7a76eb2

Please sign in to comment.