added -Wall -Wextra -pedantic-errors to gcc flags

master
Anton Lydike 3 years ago
parent cc498154aa
commit 33168689c6

@ -11,7 +11,7 @@ GCC_PREF=riscv32-unknown-elf-
CC=$(GCC_PREF)gcc CC=$(GCC_PREF)gcc
OBJDUMP=$(GCC_PREF)objdump OBJDUMP=$(GCC_PREF)objdump
CFLAGS=-I$(KLIBDIR) -O3 -MD -mcmodel=medany CFLAGS=-I$(KLIBDIR) -O3 -MD -mcmodel=medany -Wall -Wextra -pedantic-errors
KERNEL_CFLAGS=-nostdlib -T linker.ld KERNEL_CFLAGS=-nostdlib -T linker.ld
ARCH = rv32im # here you ARCH = rv32im # here you

Loading…
Cancel
Save