mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
restore other arch support
This commit is contained in:
parent
6446c09576
commit
f67113dafa
1 changed files with 4 additions and 2 deletions
|
|
@ -147,12 +147,14 @@ tcc-mes -c -D HAVE_CONFIG_H=1 -D HAVE_LONG_LONG=1 -D HAVE_FLOAT=1 -I include -I
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if match ${ARCH} riscv64; then
|
if match ${ARCH} riscv64; then
|
||||||
|
IS_RISCV64=True
|
||||||
tcc-mes -c -D HAVE_CONFIG_H=1 -D HAVE_LONG_LONG=1 -D HAVE_FLOAT=1 -I include -I include/linux/${MES_ARCH} -o lib-arm64.o ../${TCC_PKG}/lib/lib-arm64.c
|
tcc-mes -c -D HAVE_CONFIG_H=1 -D HAVE_LONG_LONG=1 -D HAVE_FLOAT=1 -I include -I include/linux/${MES_ARCH} -o lib-arm64.o ../${TCC_PKG}/lib/lib-arm64.c
|
||||||
tcc-mes -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o lib-arm64.o
|
tcc-mes -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o lib-arm64.o
|
||||||
|
else
|
||||||
|
IS_RISCV64=False
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# LJW FIXME breaks other arches
|
if match xIS_RISCV64${TCC_BOOTSTRAP_ALT} xFalseFalse; then
|
||||||
if match x${ARCH}${TCC_BOOTSTRAP_ALT} xx86False; then
|
|
||||||
tcc-mes -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o
|
tcc-mes -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue