Don't filter out INCLUDE flags
This commit is contained in:
parent
cf59481567
commit
7fcc094b63
|
@ -35,7 +35,7 @@ cpu = '$(CPU)'
|
||||||
endian = '$(CPUENDIANNESS)'
|
endian = '$(CPUENDIANNESS)'
|
||||||
|
|
||||||
[built-in options]
|
[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)',) ]
|
c_link_args = [ '-DPRINTF_LEVEL=1', $(foreach flag,$(LDFLAGS),'$(flag)',) ]
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue