1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Author: Dylan Aïssi <bob.dybian@gmail.com>,
Reiner Herrmann <reiner@reiner-h.de>
Description: Patch the makefile in order to enable reproducible builds (stable order for inputs).
Last-Update: 2016-12-16
Bug-Debian: https://bugs.debian.org/848292
Forwarded: TODO
--- a/Makefile
+++ b/Makefile
@@ -58,9 +58,9 @@
#files (binary, objects, headers & sources)
FILE_BIN=bin/fastQTL
-FILE_O=$(shell for file in `find src -name *.cpp`; do echo obj/$$(basename $$file .cpp).o; done)
-FILE_H=$(shell find src -name *.h)
-FILE_CPP=$(shell find src -name *.cpp)
+FILE_O=$(shell for file in `find src -name *.cpp | LC_ALL=C sort`; do echo obj/$$(basename $$file .cpp).o; done)
+FILE_H=$(shell find src -name *.h | LC_ALL=C sort)
+FILE_CPP=$(shell find src -name *.cpp | LC_ALL=C sort)
#default
all: linux
|