aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutils/buildit/build_llvm3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 4782002..6b83477 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -157,7 +157,8 @@ rm -rf * || exit 1
cd $DIR/obj-llvm || exit 1
# Install the tree into the destination directory.
-make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 OPTIMIZE_OPTION='-O2' install
+make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \
+ OPTIMIZE_OPTION='-O2' install
if ! test $? == 0 ; then
echo "error: LLVM 'make install' failed!"