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 | c319344b1c10353c9b334ec0b5c740a1bebaaa12 (patch) | |
| tree | 362ceed641fea2a14455f4025b507f18bd9a27e2 /llvm/utils | |
| parent | c8adf3ff6e217c89d1b8dfa17a1fc81b17c0fe49 (diff) | |
| download | bcm5719-llvm-c319344b1c10353c9b334ec0b5c740a1bebaaa12.tar.gz bcm5719-llvm-c319344b1c10353c9b334ec0b5c740a1bebaaa12.zip | |
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
llvm-svn: 173468
Diffstat (limited to 'llvm/utils')
| -rwxr-xr-x | llvm/utils/buildit/build_llvm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm index 42f8af0ef4e..c7777f83383 100755 --- a/llvm/utils/buildit/build_llvm +++ b/llvm/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 \ |

