mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02: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:
+3
-3
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user