diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-12 13:29:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-12 13:29:40 +0000 |
commit | 684b28e09c868d185cdec2713c9df4e30f9d7260 (patch) | |
tree | dcd92fb0facbd71cd2d4306ca9b9872d15c88cde /Makefile | |
parent | 3198f6187a0b659a1bc4678270a93c9942fc2a0f (diff) | |
download | ffmpeg-684b28e09c868d185cdec2713c9df4e30f9d7260.tar.gz |
Use LD for linking, default to same as CC
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -65,10 +65,10 @@ ffplay_g$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS) ffserver_g$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS) %_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS) - $(CC) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS) + $(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS) tools/%$(EXESUF): tools/%.c - $(CC) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) + $(LD) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS) @@ -304,8 +304,8 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) tests/%$(HOSTEXESUF): 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) +tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS) + $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) .PHONY: documentation *test regtest-* zlib-error alltools check config |