From a72a46657aeb9c950c5d6e99933b4ec16814c89c Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sun, 8 Nov 2026 02:00:33 +0800 Subject: [mubios] Add CFLAGS to close Exception Unwinding and Stack Unwinding Mechanism Signed-off-by: Richard Qin --- mubios/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mubios/Makefile b/mubios/Makefile index b5c268e..df74430 100644 --- a/mubios/Makefile +++ b/mubios/Makefile @@ -28,7 +28,8 @@ LD := ld OBJCOPY := objcopy CFLAGS := -m32 -ffreestanding -fno-pie -fno-stack-protector \ - -fno-builtin -nostdinc -Iinclude -Wall -Wextra + -fno-builtin -nostdinc -Iinclude -Wall -Wextra \ + -fno-unwind-tables -fno-asynchronous-unwind-tables ASFLAGS := --32 LDFLAGS := -m elf_i386 -nostdlib -T linker.ld -- cgit v1.2.3