diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-07-22 23:33:00 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-07-22 23:33:00 +0000 |
commit | 02dee5b437f65d7907702eb91e7d435842375ca2 (patch) | |
tree | a29b7ef0e43e8115a35392c7ba0d09f9721d10f2 /utils | |
parent | ed2b84087f4ff1df77b73afaf2003c97816fe7ec (diff) | |
download | external_llvm-02dee5b437f65d7907702eb91e7d435842375ca2.zip external_llvm-02dee5b437f65d7907702eb91e7d435842375ca2.tar.gz external_llvm-02dee5b437f65d7907702eb91e7d435842375ca2.tar.bz2 |
Add an explicit -sdk option to xcrun command.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/buildit/build_llvm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 37fb0ef..39ec1cc 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -100,7 +100,7 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then # Try to use the platform llvm-gcc. Fall back to gcc if it's not available. for prog in gcc g++ ; do P=$DIR/bin/arm-apple-darwin$DARWIN_VERS-${prog} - T=`xcrun -find llvm-${prog}` + T=`xcrun -sdk $SDKROOT -find llvm-${prog}` if [ "x$T" = "x" ] ; then T=`xcrun -sdk $SDKROOT -find ${prog}` fi |