diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-01 20:28:14 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-01 20:28:14 +0000 |
commit | 1bf97fb207fc5e11875c32236efd6a611aa0926a (patch) | |
tree | ee110a245e322b094abbf4f31b3965682926982e | |
parent | 552a524fbdb56871c12fe5b09f6215e8ff14eff3 (diff) |
Add support to remove a flag from CFLAGS
-rw-r--r-- | test/Test.mak | 2 |
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) |