From: konablend Date: Wed, 24 Jun 2009 01:02:28 +0000 (+0000) Subject: - patch ffmpeg to skip somewhat expensive .d (dependency) file generation. X-Git-Tag: 0.9.4~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82cb2f642093c2a9a8e2f8f484dbb96dccc53c2a;p=handbrake - patch ffmpeg to skip somewhat expensive .d (dependency) file generation. - shaves about 12-15 seconds off total build time on the fastest boxen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2611 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/contrib/ffmpeg/A04-disable-depend.patch b/contrib/ffmpeg/A04-disable-depend.patch new file mode 100644 index 000000000..e6099da2c --- /dev/null +++ b/contrib/ffmpeg/A04-disable-depend.patch @@ -0,0 +1,33 @@ +diff -Naur ffmpeg-r19067.orig/common.mak ffmpeg-r19067/common.mak +--- ffmpeg-r19067.orig/common.mak 2009-05-29 07:56:54.000000000 -0400 ++++ ffmpeg-r19067/common.mak 2009-06-23 20:36:58.000000000 -0400 +@@ -29,17 +29,6 @@ + %.ho: %.h + $(CC) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $< + +-%.d: %.c +- $(DEPEND_CMD) > $@ +- +-%.d: %.S +- $(DEPEND_CMD) > $@ +- +-%.d: %.cpp +- $(DEPEND_CMD) > $@ +- +-%.o: %.d +- + %$(EXESUF): %.c + + SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries +@@ -76,11 +65,6 @@ + ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h)) + checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho)) + +-DEPS := $(OBJS:.o=.d) +-depend dep: $(DEPS) +- + CLEANSUFFIXES = *.o *~ *.ho *.map + DISTCLEANSUFFIXES = *.d *.pc + LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp +- +--include $(DEPS)