mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
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.
This commit is contained in:
parent
28e1c97916
commit
3e5cce81e7
@ -39,9 +39,9 @@ $(HOSTOBJS): %.o: %.c
|
|||||||
$(HOSTPROGS): %$(HOSTEXESUF): %.o
|
$(HOSTPROGS): %$(HOSTEXESUF): %.o
|
||||||
$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
|
$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
|
||||||
|
|
||||||
$(OBJS): | $(dir $(OBJS))
|
$(OBJS): | $(sort $(dir $(OBJS)))
|
||||||
$(HOSTOBJS): | $(dir $(HOSTOBJS))
|
$(HOSTOBJS): | $(sort $(dir $(HOSTOBJS)))
|
||||||
$(TESTOBJS): | $(dir $(TESTOBJS))
|
$(TESTOBJS): | $(sort $(dir $(TESTOBJS)))
|
||||||
$(TOOLOBJS): | tools
|
$(TOOLOBJS): | tools
|
||||||
|
|
||||||
OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOSTOBJS) $(TESTOBJS))
|
OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOSTOBJS) $(TESTOBJS))
|
||||||
|
Loading…
Reference in New Issue
Block a user