fiddling with makefile

This commit is contained in:
Philippe Teuwen 2020-05-12 01:49:01 +02:00
commit 61610a5c61
2 changed files with 15 additions and 6 deletions

View file

@ -84,6 +84,9 @@ GCCEXTRACFLAGS += -Wcast-align -Wno-error=cast-align
ifeq ($(GCCEXTRA),1)
DEFCFLAGS += $(GCCEXTRACFLAGS) $(EXTRACFLAGS)
endif
ifeq ($(NOERROR),1)
DEFCFLAGS += -Wno-error
endif
CFLAGS ?= $(DEFCFLAGS)
CFLAGS += $(ARMCFLAGS) -c $(INCLUDE) -std=c99 $(APP_CFLAGS)