mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-11-19 05:11:49 +00:00
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:
parent
22a6c81247
commit
f745f48baf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user