From 84fda191629c316cde118765c9f8128f6762cf70 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 29 Nov 2015 14:06:46 +0100 Subject: build: Make the build reproducible Ensure a stable link order independent of the configured locale in order to make the build reproducible. Patch from Reiner Herrmann, submitted via the Debian Bug Tracker (#806547). Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806547 Signed-off-by: Tobias Klauser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b0ee375..068e954 100644 --- a/Makefile +++ b/Makefile @@ -181,4 +181,4 @@ $(foreach tool,$(TOOLS),$(eval $(call TOOL_templ,$(tool)))) %:: ; $(TOOLS): - $(LDQ) $(LDFLAGS) -o $@/$@ $@/*.o $($@-libs) + $(LDQ) $(LDFLAGS) -o $@/$@ $(shell LC_ALL=C ls $@/*.o) $($@-libs) -- cgit v1.2.3-54-g00ecf