aboutsummaryrefslogtreecommitdiffstats
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
commitc1389cf2e2d164bb7478feb49fbee270f620b0a7 (patch)
treea29b7ef0e43e8115a35392c7ba0d09f9721d10f2 /utils
parentdf4b9fea20a2888aa1485d92a1416165710c23ba (diff)
downloadexternal_llvm-c1389cf2e2d164bb7478feb49fbee270f620b0a7.zip
external_llvm-c1389cf2e2d164bb7478feb49fbee270f620b0a7.tar.gz
external_llvm-c1389cf2e2d164bb7478feb49fbee270f620b0a7.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-xutils/buildit/build_llvm2
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