mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
llvm-svn: 173468
This commit is contained in:
parent
df96d1dffb
commit
f542c2cef8
@ -164,6 +164,9 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then
|
||||
else
|
||||
# not $ARM_HOSTED_BUILD
|
||||
|
||||
export CC=`xcrun -find clang`
|
||||
export CXX=`xcrun -find clang++`
|
||||
|
||||
if [ "$IOS_SIM_BUILD" = yes ]; then
|
||||
# Use a non-standard "darwin_sim" host triple to trigger a cross-build.
|
||||
configure_opts="--enable-targets=x86 --host=i686-apple-darwin_sim \
|
||||
|
Loading…
x
Reference in New Issue
Block a user