From 5df95513ecf52e9657fd1a0259a20e0db7809dad Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Tue, 12 Sep 2017 21:26:30 +0200 Subject: [PATCH] Sort linker input file list so that dunst binaries build in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87e9cdb..4a839f4 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ include config.mk CFLAGS += -I. LDFLAGS += -L. -SRC := $(shell find src/ -name '*.c') +SRC := $(sort $(shell find src/ -name '*.c')) OBJ := ${SRC:.c=.o} all: doc dunst service