Warn for unused results

This commit is contained in:
Imbus 2025-08-18 11:17:10 +02:00
parent 1aed6c0715
commit ee2ddd7e8c
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ LDFLAGS = -Tkernel.ld
LDFLAGS += -m elf64lriscv
CFLAGS = -Wall -Werror -O
CFLAGS += -Wno-unused-result
CFLAGS += -mcmodel=medany
CFLAGS += -march=rv64gc -mabi=lp64
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax