diff options
-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 |