Update build.sh

This commit is contained in:
Colton G. Rushton
2022-06-24 14:09:02 -03:00
committed by GitHub
parent adf4f28774
commit 497536cf5a

View File

@@ -18,7 +18,8 @@ make -C gcc clean
make -C gcc -j$(nproc) normal $CCOPT $CXXOPT
mv gcc/agbcc .
# not sure if the ARM compiler is the old one or the new one (-DOLD_COMPILER)
make -C gcc_arm distclean
# || true is needed to keep going if the distclean fails, such as when no configure has been done before
make -C gcc_arm distclean || true
cd gcc_arm && ./configure --target=arm-elf --host=i386-linux-gnu && cd ..
make -C gcc_arm -j$(nproc) cc1
mv gcc_arm/cc1 agbcc_arm