shared GCC settings between projects

This commit is contained in:
rusefi 2019-12-02 13:53:08 -05:00
parent 48db08aaae
commit df26a9fb16
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@ endif
PROJECT_DIR = ../firmware
include $(PROJECT_DIR)/rusefi_rules.mk
# Compiler options here.
ifeq ($(USE_OPT),)
@ -27,6 +28,11 @@ ifeq ($(USE_OPT),)
USE_OPT += -Werror=missing-field-initializers
endif
#TODO! this is a nice goal
#USE_OPT += $(RUSEFI_OPT)
#USE_OPT += -Wno-error=format= -Wno-error=register -Wno-error=write-strings
ifeq ($(CCACHE_DIR),)
$(info No CCACHE_DIR)
else