projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c2f90
)
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
author
Bob Wilson
<bob.wilson@apple.com>
Fri, 25 Jan 2013 18:40:25 +0000
(18:40 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Fri, 25 Jan 2013 18:40:25 +0000
(18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173468
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/buildit/build_llvm
patch
|
blob
|
history
diff --git
a/utils/buildit/build_llvm
b/utils/buildit/build_llvm
index 42f8af0ef4e84a34c6504130a64fa5ad4b1e41f3..c7777f83383a077f12cb8f36d83346b1f3b0be6a 100755
(executable)
--- 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 \