[SCM] libav/experimental: fix make dep with some gcc versions

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:53:15 UTC 2013


The following commit has been merged in the experimental branch:
commit 0032cac2c9baa43a102cc339bfbd79bc209f9998
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Nov 12 16:37:32 2006 +0000

    fix make dep with some gcc versions
    
    Originally committed as revision 6988 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/Makefile b/Makefile
index 6c01a82..344cfbc 100644
--- a/Makefile
+++ b/Makefile
@@ -208,7 +208,7 @@ ifeq ($(CONFIG_VHOOK),yes)
 endif
 
 .depend: $(SRCS) version.h
-	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
+	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
 
 .libs: lib
 	@test -f .libs || touch .libs

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list