summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-24 01:02:28 +0000
committerkonablend <[email protected]>2009-06-24 01:02:28 +0000
commit82cb2f642093c2a9a8e2f8f484dbb96dccc53c2a (patch)
tree90358a6d7ce9b903e50b62146132d0038f55f573
parenta0031445c36cdbadf1135176e071318b892d280e (diff)
- 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
-rw-r--r--contrib/ffmpeg/A04-disable-depend.patch33
1 files changed, 33 insertions, 0 deletions
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)