mirror of https://github.com/rusefi/rusefi.git
only: it's a hot mess :(
This commit is contained in:
parent
e53cf7e309
commit
244a42d795
|
@ -119,7 +119,7 @@ else
|
|||
TRGT = i686-w64-mingw32-
|
||||
endif
|
||||
else
|
||||
TRGT =
|
||||
TRGT =
|
||||
endif
|
||||
|
||||
CC = $(TRGT)gcc
|
||||
|
@ -163,6 +163,15 @@ CWARN = -Wall -Wextra -Wstrict-prototypes -pedantic -Wmissing-prototypes -Wold-s
|
|||
# Define C++ warning options here
|
||||
CPPWARN = -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wno-format -Wno-unused-parameter -Wno-unused-private-field
|
||||
|
||||
# TODO: improve on this code duplication drama!
|
||||
# current problem with older gcc in unit_tests is
|
||||
# cc1plus: error: unrecognized command line option \u2018-Wno-unused-private-field\u2019 [-Werror]
|
||||
#RULESFILE = ../firmware/rusefi_rules.mk
|
||||
#include $(RULESFILE)
|
||||
#USE_OPT += $(RUSEFI_OPT) -Wno-error=pedantic
|
||||
|
||||
USE_OPT += -Werror=switch
|
||||
|
||||
#
|
||||
# Compiler settings
|
||||
##############################################################################
|
||||
|
|
Loading…
Reference in New Issue