Added extra warning levels and fixed existing warnings
This commit is contained in:
parent
a39e30d17e
commit
df0ebbbbcd
4 changed files with 16 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue