From 33168689c69d5d515eaf7c6303438cb45f7bee4c Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Wed, 18 Aug 2021 13:07:01 +0200 Subject: [PATCH] added -Wall -Wextra -pedantic-errors to gcc flags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2dd819c..62d6331 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ GCC_PREF=riscv32-unknown-elf- CC=$(GCC_PREF)gcc 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 ARCH = rv32im # here you