llvm.org GIT mirror llvm / e93f5db
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 Devang Patel 12 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
156156 cd $DIR/obj-llvm || exit 1
157157
158158 # Install the tree into the destination directory.
159 make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 OPTIMIZE_OPTION='-O2' install
159 make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \
160 OPTIMIZE_OPTION='-O2' install
160161
161162 if ! test $? == 0 ; then
162163 echo "error: LLVM 'make install' failed!"