Package: gemma / 0.98.1+dfsg-1

Reproducible_builds.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Dylan Aïssi <bob.dybian@gmail.com>
Description: Patch the makefile in order to enable reproducible builds (stable order for inputs).
Last-Update: 2018-06-14
Forwarded: TODO

Index: gemma-0.98+dfsg/Makefile
===================================================================
--- gemma-0.98+dfsg.orig/Makefile
+++ gemma-0.98+dfsg/Makefile
@@ -215,8 +215,8 @@ ifdef WITH_LAPACK
   endif
 endif
 
-HDR          = $(wildcard src/*.h) ./src/version.h
-SOURCES      = $(wildcard src/*.cpp)
+HDR          = $(sort $(wildcard src/*.h)) ./src/version.h
+SOURCES      = $(sort $(wildcard src/*.cpp))
 
 # all
 OBJS = $(SOURCES:.cpp=.o)