[SCM] libav/experimental: Merge SDL_CFLAGS handling for files that need it.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:16:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 3c889b5cf7e5c177fc3c7f2dda2c7fdd03b62375
Author: Diego Biurrun <diego at biurrun.de>
Date:   Mon Mar 10 20:01:50 2008 +0000

    Merge SDL_CFLAGS handling for files that need it.
    
    Originally committed as revision 12412 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/Makefile b/Makefile
index 1732042..07ba3d1 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ output_example$(EXESUF): output_example.o .libs
 tools/%$(EXESUF): tools/%.c
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(EXTRALIBS)
 
-ffplay.o: CFLAGS += $(SDL_CFLAGS)
+ffplay.o .depend: CFLAGS += $(SDL_CFLAGS)
 
 ffmpeg.o ffplay.o ffserver.o: version.h
 
@@ -227,7 +227,7 @@ depend dep: .depend .vhookdep
 	$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
 
 .depend: $(SRCS) version.h
-	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
+	$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) 1>.depend
 
 # gcc stupidly only outputs the basename of targets with -MM
 .vhookdep: $(ALLHOOKS_SRCS) version.h

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list