llvm.org GIT mirror llvm / 02dee5b
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 Bob Wilson 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9999 # Try to use the platform llvm-gcc. Fall back to gcc if it's not available.
100100 for prog in gcc g++ ; do
101101 P=$DIR/bin/arm-apple-darwin$DARWIN_VERS-${prog}
102 T=`xcrun -find llvm-${prog}`
102 T=`xcrun -sdk $SDKROOT -find llvm-${prog}`
103103 if [ "x$T" = "x" ] ; then
104104 T=`xcrun -sdk $SDKROOT -find ${prog}`
105105 fi