mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
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
This commit is contained in:
parent
882cdfde51
commit
e93f5db6e5
@ -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!"
|
||||||
|
Loading…
Reference in New Issue
Block a user