lib/Makefile: filter-out -b flag from XFLAGS

to build tcc with bound checking
    ./configure --cc=tcc --extra-cflags-b
This commit is contained in:
seyko 2015-11-08 12:26:17 +03:00
parent 763dd22b35
commit 37e815eee1

View File

@ -100,7 +100,7 @@ endif
endif
endif
XFLAGS = $(CPPFLAGS) $(CFLAGS) $(PICFLAGS) $(TGT)
XFLAGS = $(filter-out -b,$(CPPFLAGS) $(CFLAGS) $(PICFLAGS) $(TGT))
ifeq ($(TARGETOS),Darwin)
XAR = $(DIR)/tiny_libmaker$(EXESUF)