summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-07-22 23:33:00 +0000
committerBob Wilson <bob.wilson@apple.com>2010-07-22 23:33:00 +0000
commit02dee5b437f65d7907702eb91e7d435842375ca2 (patch)
treea29b7ef0e43e8115a35392c7ba0d09f9721d10f2 /utils
parented2b84087f4ff1df77b73afaf2003c97816fe7ec (diff)
downloadllvm-02dee5b437f65d7907702eb91e7d435842375ca2.tar.gz
llvm-02dee5b437f65d7907702eb91e7d435842375ca2.tar.bz2
llvm-02dee5b437f65d7907702eb91e7d435842375ca2.tar.xz
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-xutils/buildit/build_llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 37fb0efaa3..39ec1ccda9 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