mirror of https://github.com/rusefi/rusefi.git
prep adding Werror=shadow
This commit is contained in:
parent
93e3e75a36
commit
0a767edd3d
|
@ -83,6 +83,8 @@ endif
|
|||
# Hellen is one of the boards which cares
|
||||
USE_CPPOPT += -Wno-error=tautological-compare
|
||||
|
||||
USE_CPPOPT += $(RUSEFI_CPPOPT)
|
||||
|
||||
# Enable this if you want the linker to remove unused code and data
|
||||
ifeq ($(USE_LINK_GC),)
|
||||
USE_LINK_GC = yes
|
||||
|
|
|
@ -78,6 +78,8 @@ ifeq ($(USE_CPPOPT),)
|
|||
USE_CPPOPT = -std=c++2a -Wno-register -fno-rtti
|
||||
endif
|
||||
|
||||
USE_CPPOPT += $(RUSEFI_CPPOPT)
|
||||
|
||||
# Enable this if you want the linker to remove unused code and data.
|
||||
ifeq ($(USE_LINK_GC),)
|
||||
USE_LINK_GC = yes
|
||||
|
|
|
@ -76,6 +76,8 @@ ifeq ($(USE_CPPOPT),)
|
|||
USE_CPPOPT = -std=gnu++2a -fno-rtti -fno-use-cxa-atexit
|
||||
endif
|
||||
|
||||
USE_CPPOPT += $(RUSEFI_CPPOPT)
|
||||
|
||||
# Enable address sanitizer for C++ files, but not on Windows since x86_64-w64-mingw32-g++ doesn't support it.
|
||||
# only c++ because lua does some things asan doesn't like, but don't actually cause overruns.
|
||||
ifeq ($(SANITIZE),yes)
|
||||
|
|
Loading…
Reference in New Issue