]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
Makefile: sort inputs to linker so that build is reproducible
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 21 Jan 2020 12:05:42 +0000 (13:05 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 21 Jan 2020 14:51:07 +0000 (15:51 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/Makefile

index 08389ef3f1cdc366f069fa3caa3ff0b3c1e9fbfd..0e11d2b1a46b676b7a31ed35f8732251693c5179 100644 (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: