From 3a3a56e217be35c4844420d670fbb58407927e81 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 21 Jan 2020 13:05:42 +0100 Subject: Makefile: sort inputs to linker so that build is reproducible Signed-off-by: Jason A. Donenfeld --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-59-g8ed1b