summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2015-11-29 14:06:46 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-29 14:10:46 +0100
commit84fda191629c316cde118765c9f8128f6762cf70 (patch)
tree9be6fc717d6c768b664a4dc45a828d9598e74997 /Makefile
parentdd6c1eb0a190456810d7c2ec0bcecf860adc4f04 (diff)
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 <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)