make_scripts_riscv/project.mk: Force -Wall and -Werror for C/CXX code.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
This commit is contained in:
Konrad Dybcio 2021-01-15 20:19:03 +01:00 committed by Marek Kraus
parent 22a6c81247
commit f745f48baf

View File

@ -342,7 +342,8 @@ CFLAGS := $(strip \
$(CFLAGS) \
$(E21_CPU_CFLAGS) \
$(EXTRA_CFLAGS)) \
-save-temps=obj
-save-temps=obj \
-Werror -Wall
CXXFLAGS := $(strip \
-std=c++11 \
@ -366,6 +367,7 @@ CXXFLAGS := $(strip \
-Wundef \
-fno-rtti -fno-exceptions \
-save-temps=obj \
-Werror -Wall \
)
export CFLAGS CPPFLAGS CXXFLAGS ASMFLAGS