[llvm-commits] [llvm] r109196 - /llvm/trunk/utils/buildit/build_llvm
Bob Wilson
bob.wilson at apple.com
Thu Jul 22 16:33:00 PDT 2010
Author: bwilson
Date: Thu Jul 22 18:33:00 2010
New Revision: 109196
URL: http://llvm.org/viewvc/llvm-project?rev=109196&view=rev
Log:
Add an explicit -sdk option to xcrun command.
Modified:
llvm/trunk/utils/buildit/build_llvm
Modified: llvm/trunk/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/build_llvm?rev=109196&r1=109195&r2=109196&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Thu Jul 22 18:33:00 2010
@@ -100,7 +100,7 @@
# 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
More information about the llvm-commits
mailing list