From 7fcc094b63c2db98a83885aaef63856c68037094 Mon Sep 17 00:00:00 2001 From: Michal Sieron Date: Mon, 16 Aug 2021 16:47:01 +0200 Subject: [PATCH] Don't filter out INCLUDE flags --- litex/soc/software/libc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/libc/Makefile b/litex/soc/software/libc/Makefile index a68016f8e..4a7d827e0 100644 --- a/litex/soc/software/libc/Makefile +++ b/litex/soc/software/libc/Makefile @@ -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