aboutsummaryrefslogtreecommitdiffstats
path: root/utils/buildit
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-04-05 00:35:55 +0000
committerBob Wilson <bob.wilson@apple.com>2012-04-05 00:35:55 +0000
commit63246de68653ce330c55453cf9a18a306a4d2319 (patch)
tree9570278dd8c1f779a30fc5d6fce1297db8aa98b8 /utils/buildit
parent68f404d890cf5be94a7a818f4215bbff64598a45 (diff)
downloadexternal_llvm-63246de68653ce330c55453cf9a18a306a4d2319.zip
external_llvm-63246de68653ce330c55453cf9a18a306a4d2319.tar.gz
external_llvm-63246de68653ce330c55453cf9a18a306a4d2319.tar.bz2
Do not include multiple -arch options in CPPFLAGS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit')
-rwxr-xr-xutils/buildit/build_llvm5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index d6086c1..88a26d3 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -120,9 +120,8 @@ if [ "$ARM_HOSTED_BUILD" != yes ]; then
if [ $SDKROOT ]; then
CPPFLAGS="$CPPFLAGS -isysroot $SDKROOT"
fi
- for host in $HOSTS; do
- CPPFLAGS="$CPPFLAGS -arch $host"
- done
+ for host in $HOSTS; do :; done
+ CPPFLAGS="$CPPFLAGS -arch $host"
fi
if [ \! -f Makefile.config ]; then