From ce73279d6754a44383338a1d93573ac9b20270f0 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Wed, 2 Nov 2016 00:05:49 +0100 Subject: [PATCH] Sort list of source files $(wildcard) does not guarantee a sorted list, which causes also a non-deterministic order while linking the binary. To support reproducible building, the list is explicitely sorted. Signed-off-by: Reiner Herrmann --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8a64df9..5dfd835b 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ doc-man: lpass.1 doc-html: lpass.1.html doc: doc-man doc-html -lpass: $(patsubst %.c,%.o,$(wildcard *.c)) +lpass: $(patsubst %.c,%.o,$(sort $(wildcard *.c))) %.1: %.1.txt a2x --no-xmllint -f manpage $< %.1.html: %.1.txt