diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-07-10 21:05:45 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-10 22:16:21 +0200 |
commit | 3e5cce81e77fae6af91fcf8de11dafe9c8b1744d (patch) | |
tree | 0577acdc968c3351c49cbe854699462bc65e1eaa /common.mak | |
parent | 28e1c97916b026c8785f54ec591718379b251bbb (diff) | |
download | ffmpeg-3e5cce81e77fae6af91fcf8de11dafe9c8b1744d.tar.gz |
build: remove duplicates from order-only directory prerequisite list
This reduces startup latency for make invocations, which is especially
noticeable on systems that are slow or have slow I/O, like Windows.
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common.mak b/common.mak index da51495a16..8a2aa7cf0d 100644 --- a/common.mak +++ b/common.mak @@ -39,9 +39,9 @@ $(HOSTOBJS): %.o: %.c $(HOSTPROGS): %$(HOSTEXESUF): %.o $(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS) -$(OBJS): | $(dir $(OBJS)) -$(HOSTOBJS): | $(dir $(HOSTOBJS)) -$(TESTOBJS): | $(dir $(TESTOBJS)) +$(OBJS): | $(sort $(dir $(OBJS))) +$(HOSTOBJS): | $(sort $(dir $(HOSTOBJS))) +$(TESTOBJS): | $(sort $(dir $(TESTOBJS))) $(TOOLOBJS): | tools OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOSTOBJS) $(TESTOBJS)) |