]> granicus.if.org Git - handbrake/commitdiff
- patch ffmpeg to skip somewhat expensive .d (dependency) file generation.
authorkonablend <kona8lend@gmail.com>
Wed, 24 Jun 2009 01:02:28 +0000 (01:02 +0000)
committerkonablend <kona8lend@gmail.com>
Wed, 24 Jun 2009 01:02:28 +0000 (01:02 +0000)
- 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

contrib/ffmpeg/A04-disable-depend.patch [new file with mode: 0644]

diff --git a/contrib/ffmpeg/A04-disable-depend.patch b/contrib/ffmpeg/A04-disable-depend.patch
new file mode 100644 (file)
index 0000000..e6099da
--- /dev/null
@@ -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)