From 1d9f6363e60aa2335491f70a66dca5549ea3c892 Mon Sep 17 00:00:00 2001 From: Kimapr Date: Fri, 22 Dec 2023 17:28:37 +0500 Subject: -mno-red-zone to stop interrupts from clobbering the stack --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a98b181..88d804e 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ override CFLAGS += \ -nostdinc \ -fno-builtin \ -fno-stack-protector \ + -mno-red-zone \ -nostartfiles \ -nodefaultlibs \ -Wall \ -- cgit v1.2.3