Makefile: sort inputs to linker so that build is reproducible

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-01-21 13:05:42 +01:00
parent 64576f9a06
commit 3a3a56e217

View file

@ -75,7 +75,7 @@ COMPILE.c = @echo " CC $@";
COMPILE.c += $(BUILT_IN_COMPILE.c)
endif
wg: $(patsubst %.c,%.o,$(wildcard *.c))
wg: $(sort $(patsubst %.c,%.o,$(wildcard *.c)))
ifneq ($(V),1)
clean: