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
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 [ $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