summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-01 20:28:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-01 20:28:14 +0000
commit1bf97fb207fc5e11875c32236efd6a611aa0926a (patch)
treeee110a245e322b094abbf4f31b3965682926982e /test
parent552a524fbdb56871c12fe5b09f6215e8ff14eff3 (diff)
Add support to remove a flag from CFLAGS
Diffstat (limited to 'test')
-rw-r--r--test/Test.mak2
1 files changed, 1 insertions, 1 deletions
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)