restore other arch support

This commit is contained in:
Liam Wilson 2024-01-13 02:23:25 +00:00
parent 6446c09576
commit f67113dafa

View file

@ -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
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 -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o lib-arm64.o
else
IS_RISCV64=False
fi
# LJW FIXME breaks other arches
if match x${ARCH}${TCC_BOOTSTRAP_ALT} xx86False; then
if match xIS_RISCV64${TCC_BOOTSTRAP_ALT} xFalseFalse; then
tcc-mes -ar cr ${LIBDIR}/tcc/libtcc1.a libtcc1.o
fi