aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-01-21 13:05:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-01-21 15:51:07 +0100
commit3a3a56e217be35c4844420d670fbb58407927e81 (patch)
tree0573f77f697908931e2a7b7ee642117a5dfd7edb /src/Makefile
parentnetlink: make sure to clear return value when trying again (diff)
downloadwireguard-tools-3a3a56e217be35c4844420d670fbb58407927e81.tar.xz
wireguard-tools-3a3a56e217be35c4844420d670fbb58407927e81.zip
Makefile: sort inputs to linker so that build is reproducible
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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: