[double-conversion] 06/08: Make the package build reproducibility by sorting the list of sources before building, to avoid random order in static libs

Mattia Rizzolo mattia at debian.org
Sun Oct 30 18:00:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository double-conversion.

commit 7306bb85729dc58731671cd81bebe4bc0c4dafce
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Oct 30 17:54:11 2016 +0000

    Make the package build reproducibility by sorting the list of sources before building, to avoid random order in static libs
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index a36e30e..3bb4f7b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,10 +17,10 @@ endif
 SO=1
 VERS=$(SO).0
 
-SRC=$(shell echo src/*.cc)
+SRC=$(sort $(wildcard src/*.cc))
 OBJ=$(SRC:.cc=.o)
 
-TEST_SRC=$(shell echo test/cctest/*.cc)
+TEST_SRC=$(sort $(wildcard test/cctest/*.cc))
 TEST_OBJ=$(TEST_SRC:.cc=.o)
 
 CPPFLAGS += -Isrc/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/double-conversion.git



More information about the debian-science-commits mailing list