From 497536cf5ac3f08446aae180b4bd9e653bf85b62 Mon Sep 17 00:00:00 2001 From: "Colton G. Rushton" Date: Fri, 24 Jun 2022 14:09:02 -0300 Subject: [PATCH] Update build.sh --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 84ddc74..2c11fe3 100755 --- a/build.sh +++ b/build.sh @@ -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