From 1bf97fb207fc5e11875c32236efd6a611aa0926a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 1 Mar 2006 20:28:14 +0000 Subject: Add support to remove a flag from CFLAGS --- test/Test.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/Test.mak b/test/Test.mak index 25d9fdde1..47bacebdf 100644 --- a/test/Test.mak +++ b/test/Test.mak @@ -73,7 +73,7 @@ endef $(U_TARGETS): $(showlink) - $(Q)$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -c $@.c -o $@.o + $(Q)$(CC) $(filter-out $(CFLAGS-OMIT_$@.c),$(CFLAGS)) $(EXTRA_CFLAGS) $(CFLAGS_$@) -c $@.c -o $@.o $(Q)$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LDFLAGS) $(LDFLAGS_$@) ifeq ($(COMPILE_ONLY),) $(exec_test) -- cgit v1.2.3