diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-06 21:24:48 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-06 21:24:48 +0000 |
commit | e93f5db6e5f4cf87c5a6cb9d8f25d9808b9a82d6 (patch) | |
tree | 4caf93444199a14b231a9bcacd3d6a574c7f1d89 /utils | |
parent | 882cdfde516fb97a1fda1a3bbc85b1792aa7659c (diff) | |
download | external_llvm-e93f5db6e5f4cf87c5a6cb9d8f25d9808b9a82d6.zip external_llvm-e93f5db6e5f4cf87c5a6cb9d8f25d9808b9a82d6.tar.gz external_llvm-e93f5db6e5f4cf87c5a6cb9d8f25d9808b9a82d6.tar.bz2 |
Set UNIVERSAL_ARCH value.
Fixes build failure when target is i386.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/buildit/build_llvm | 3 |
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!" |