aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-16 22:29:17 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-16 22:29:17 +0000
commitb0f0c430515c06a203655811a240c14a09731743 (patch)
tree2c2c0cc083e495578ebd0642f14eabbca0cf9867 /subdir.mak
parent88ec6ac9e413b17aa070c61b8c26078e0a630a39 (diff)
downloadffmpeg-b0f0c430515c06a203655811a240c14a09731743.tar.gz
Use CPPFLAGS when building tests
Originally committed as revision 19446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/subdir.mak b/subdir.mak
index 65d9c6f382..4824bc646e 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -25,10 +25,10 @@ $(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
$(LD) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)
$(SUBDIR)%-test.o: $(SUBDIR)%.c
- $(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
+ $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c -o $$@ $$^
$(SUBDIR)%-test.o: $(SUBDIR)%-test.c
- $(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
+ $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c -o $$@ $$^
$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
$(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$<