diff options
author | Mattia Rizzolo <mattia@debian.org> | 2016-01-09 10:45:34 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-01-11 17:46:41 +0100 |
commit | 831ea74cddf8568b8648edddb394fdd3d1ba7b8e (patch) | |
tree | dce40f839154245afc959eb035926c45cde3f3fa /apt-private | |
parent | ace5a062fc5390e636b09c5684bfbeae755cf437 (diff) |
Sort the list of sources to be built and linked
Fix reproducibility issue due to readdir() order by sorting
the list of sources to be built and linked.
[jak@debian.org: Added summary and fixed typo]
Closes: #810509
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/makefile b/apt-private/makefile index 9a3fbdb29..1934db160 100644 --- a/apt-private/makefile +++ b/apt-private/makefile @@ -15,7 +15,7 @@ MINOR=0 SLIBS=$(PTHREADLIB) -lapt-pkg CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden -SOURCE = $(wildcard *.cc) -HEADERS = $(addprefix apt-private/,$(wildcard *.h)) +SOURCE = $(sort $(wildcard *.cc)) +HEADERS = $(addprefix apt-private/,$(sort $(wildcard *.h))) include $(LIBRARY_H) |