From 92cdf1490dbfb1956ed4b6439127ff17c50ac0e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E8=8B=B1=E6=98=8A?= <80203701+cyhcyhgo@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:36:23 +0800 Subject: [PATCH] Update KhiCAS's Makefile to avoid error --- apps/KhiCAS/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/KhiCAS/Makefile b/apps/KhiCAS/Makefile index cfae956eb..5c336ee6b 100644 --- a/apps/KhiCAS/Makefile +++ b/apps/KhiCAS/Makefile @@ -76,6 +76,9 @@ src/lib/libmpfr.a src/include/mpfr.h: src/lib/libgmp.a src/include/gmp.h libDire cp src/mpfr.h ../include/mpfr.h src/lib/libmicropy.a: libDirectory cd src/micropython-1.12/numworks + +# Due to the update of compiler, we must ignore the error + sed -i 's/\$$(CC) \$$(CFLAGS)/\$$(CC) \$$(CFLAGS) -Wno-error/g' ../py/mkrules.mk || true # We need to use a script to build MicroPython, because the make command crashes in MicroPython because it tries to link without the required libraries ./mklib