Don't filter out INCLUDE flags

This commit is contained in:
Michal Sieron 2021-08-16 16:47:01 +02:00
parent cf59481567
commit 7fcc094b63
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ cpu = '$(CPU)'
endian = '$(CPUENDIANNESS)'
[built-in options]
c_args = [ '-DPRINTF_LEVEL=1', $(foreach flag,$(filter-out $(INCLUDES) $(DEPFLAGS),$(CFLAGS)),'$(flag)',) ]
c_args = [ '-DPRINTF_LEVEL=1', $(foreach flag,$(filter-out $(DEPFLAGS),$(CFLAGS)),'$(flag)',) ]
c_link_args = [ '-DPRINTF_LEVEL=1', $(foreach flag,$(LDFLAGS),'$(flag)',) ]
endef