From: Jason A. Donenfeld Date: Tue, 21 Jan 2020 12:05:42 +0000 (+0100) Subject: Makefile: sort inputs to linker so that build is reproducible X-Git-Tag: v1.0.20200121~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3a3a56e217be35c4844420d670fbb58407927e81;p=thirdparty%2Fwireguard-tools.git Makefile: sort inputs to linker so that build is reproducible Signed-off-by: Jason A. Donenfeld --- diff --git a/src/Makefile b/src/Makefile index 08389ef..0e11d2b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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: