Added extra warning levels and fixed existing warnings

This commit is contained in:
Jozef Nagy 2025-01-31 21:22:48 +01:00
parent a39e30d17e
commit df0ebbbbcd
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
4 changed files with 16 additions and 31 deletions

View file

@ -28,7 +28,7 @@ export BUILD_DIR ?= build
export SYSROOT_DIR ?= sysroot
export ASFLAGS := $(foreach d, $(DEFINES), -D$d)
export CFLAGS := $(foreach d, $(DEFINES), -D$d) -ffreestanding -fno-stack-protector -fno-stack-check -MMD -MP
export CFLAGS := $(foreach d, $(DEFINES), -D$d) -Wall -Wextra -ffreestanding -fno-stack-protector -fno-stack-check -MMD -MP
export LDFLAGS := -nostdlib
export BOOT_ROOT := $(ROOT_DIR)/boot