diff options
author | Bob Wilson <bob.wilson@apple.com> | 2013-01-25 18:40:25 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2013-01-25 18:40:25 +0000 |
commit | fe67b4e249fb4a396ab4069cd65ccb1183513300 (patch) | |
tree | cedf9e0ac6199c4d32d03a5c5730297d346662aa /utils/buildit/build_llvm | |
parent | f8c2f90bb3c70ab1830b44da990bda499f1e65d1 (diff) | |
download | external_llvm-fe67b4e249fb4a396ab4069cd65ccb1183513300.zip external_llvm-fe67b4e249fb4a396ab4069cd65ccb1183513300.tar.gz external_llvm-fe67b4e249fb4a396ab4069cd65ccb1183513300.tar.bz2 |
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit/build_llvm')
-rwxr-xr-x | utils/buildit/build_llvm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 42f8af0..c7777f8 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -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 \ |