OSDN Git Service

Fix building of object files in tools/
authorRamiro Polla <ramiro.polla@gmail.com>
Tue, 7 Dec 2010 11:42:19 +0000 (11:42 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Tue, 7 Dec 2010 11:42:19 +0000 (11:42 +0000)
Fixes issue issue2408.

Originally committed as revision 25905 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index e52d5c5..ef514e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ tools/%$(EXESUF): tools/%.o
        $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
 tools/%.o: tools/%.c
-       $(CC) $(CPPFLAGS) $(CFLAGS) $(CC_O) $<
+       $(CC) $(CPPFLAGS) $(CFLAGS) -c $(CC_O) $<
 
 ffplay.o: CFLAGS += $(SDL_CFLAGS)