From 23a41dfbdd4b28e8601f19a5d941e0167acc4ead Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 1 Sep 2025 23:05:31 +0200 Subject: [PATCH] Split some cflags --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8621d11..1496c7f 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,10 @@ CFLAGS = -Wall -Werror -O CFLAGS += -Wno-unused-result CFLAGS += -mcmodel=medany CFLAGS += -march=rv64gc -mabi=lp64 -CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax +CFLAGS += -ffreestanding +CFLAGS += -fno-common +CFLAGS += -nostdlib +CFLAGS += -mno-relax CFLAGS += -fno-stack-protector # Prevents code that needs libc / runtime support CFLAGS += -MD # Generate header dependency files (.d)