Do not include multiple -arch options in CPPFLAGS.
[oota-llvm.git] / utils / buildit / build_llvm
index d6086c1418210bd52c5005b5b051d66d497bc113..88a26d30955222e04dadbaaafcf7ae9b558a65c7 100755 (executable)
@@ -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