mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 03:31:06 +00:00
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
This commit is contained in:
parent
ed2b84087f
commit
02dee5b437
@ -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.
|
# Try to use the platform llvm-gcc. Fall back to gcc if it's not available.
|
||||||
for prog in gcc g++ ; do
|
for prog in gcc g++ ; do
|
||||||
P=$DIR/bin/arm-apple-darwin$DARWIN_VERS-${prog}
|
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
|
if [ "x$T" = "x" ] ; then
|
||||||
T=`xcrun -sdk $SDKROOT -find ${prog}`
|
T=`xcrun -sdk $SDKROOT -find ${prog}`
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user