Package: boswars / 2.7+svn160110-4

reproducible-build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Sort source files for deterministic linking order

--- a/SConstruct
+++ b/SConstruct
@@ -68,7 +68,7 @@
   sources = []
   sourceDirs = Split(sourceDirs)
   for d in sourceDirs:
-    sources.append(glob.glob(engineSourceDir + '/' + d + '/*.cpp'))
+    sources.append(sorted(glob.glob(engineSourceDir + '/' + d + '/*.cpp')))
   sources = Flatten(sources)
   targetsources = []
   for s in sources: