Set UNIVERSAL_ARCH value.

Fixes build failure when target is i386.

llvm-svn: 57211
This commit is contained in:
Devang Patel 2008-10-06 21:24:48 +00:00
parent 94d14f2d45
commit 3cda64abd4
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ rm -rf * || exit 1
cd $DIR/obj-llvm || exit 1 cd $DIR/obj-llvm || exit 1
# Install the tree into the destination directory. # 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 if ! test $? == 0 ; then
echo "error: LLVM 'make install' failed!" echo "error: LLVM 'make install' failed!"