From 0d7d09dda3b3639793d2f570e3f8241ebdff34b2 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 3 Jan 2026 19:06:26 +0100 Subject: [PATCH] Stricter compiler warnings --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3e7e62a..46bf06c 100644 --- a/Makefile +++ b/Makefile @@ -30,9 +30,7 @@ LDFLAGS += -m elf64lriscv CFLAGS += -mcmodel=medany CFLAGS += -march=rv64gc -mabi=lp64 -CFLAGS += -Wall -Werror -O -CFLAGS += -Wno-unused-result -CFLAGS += -Wno-unused-variable +CFLAGS += -Wall -Wextra CFLAGS += -ffreestanding CFLAGS += -fno-common CFLAGS += -nostdlib