aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-11-23 12:36:41 +0000
committerMåns Rullgård <mans@mansr.com>2008-11-23 12:36:41 +0000
commitdbad2c29cc91f2763c8a953f91a23cb78b959c90 (patch)
tree85cb9d0f1be517fe926065a64d43165c4368bb68
parenta7ada2bade80bf32dd77c3c2e85ca956f8093f93 (diff)
downloadffmpeg-dbad2c29cc91f2763c8a953f91a23cb78b959c90.tar.gz
Build regression test data generators using HOSTCC
Originally committed as revision 15914 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ad3daf0b0f..bd34a4cf73 100644
--- a/Makefile
+++ b/Makefile
@@ -326,8 +326,8 @@ tests/vsynth2/00.pgm: tests/rotozoom$(EXESUF)
tests/asynth1.sw: tests/audiogen$(EXESUF)
$(BUILD_ROOT)/$< $@
-%$(EXESUF): %.c
- $(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $<
+tests/%$(EXESUF): tests/%.c
+ $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)