From: Bob Wilson Date: Thu, 5 Apr 2012 00:35:55 +0000 (+0000) Subject: Do not include multiple -arch options in CPPFLAGS. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=63246de68653ce330c55453cf9a18a306a4d2319 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 d6086c14182..88a26d30955 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