Package: stk / 4.5.2+dfsg-5

Sort-o-files Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
From: =?utf-8?q?Alexis_Bienven=C3=BCe?= <pado@passoire.fr>
Date: Sat, 23 Jul 2016 10:38:18 -0400
Subject: Fix order of .o files

Allows the build to be reproducible

Closes: #822566
---
 projects/demo/Makefile.in      | 2 +-
 projects/effects/Makefile.in   | 2 +-
 projects/eguitar/Makefile.in   | 2 +-
 projects/examples/Makefile.in  | 2 +-
 projects/ragamatic/Makefile.in | 2 +-
 src/Makefile.in                | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/projects/demo/Makefile.in b/projects/demo/Makefile.in
index 1ec932d..c8a1469 100644
--- a/projects/demo/Makefile.in
+++ b/projects/demo/Makefile.in
@@ -63,7 +63,7 @@ $(OBJECT_PATH)/.placeholder:
 	touch $(OBJECT_PATH)/.placeholder
 
 stk-demo: demo.cpp $(OBJECTS)
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
 
 libdemo: demo.cpp
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src -lstk $(LIBRARY)
diff --git a/projects/effects/Makefile.in b/projects/effects/Makefile.in
index 0fd65a2..98606ab 100644
--- a/projects/effects/Makefile.in
+++ b/projects/effects/Makefile.in
@@ -52,7 +52,7 @@ $(OBJECT_PATH)/.placeholder:
 	touch $(OBJECT_PATH)/.placeholder
 
 effects: effects.cpp $(OBJECTS)
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
 
 libeffects: effects.cpp
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp -L../../src -lstk $(LIBRARY)
diff --git a/projects/eguitar/Makefile.in b/projects/eguitar/Makefile.in
index 806e4b2..f794e0a 100644
--- a/projects/eguitar/Makefile.in
+++ b/projects/eguitar/Makefile.in
@@ -52,7 +52,7 @@ $(OBJECT_PATH)/.placeholder:
 	touch $(OBJECT_PATH)/.placeholder
 
 eguitar: eguitar.cpp $(OBJECTS)
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar eguitar.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar eguitar.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
 
 libeguitar: eguitar.cpp
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar utilities.cpp eguitar.cpp -L../../src -lstk $(LIBRARY)
diff --git a/projects/examples/Makefile.in b/projects/examples/Makefile.in
index aa102c9..e2787ec 100644
--- a/projects/examples/Makefile.in
+++ b/projects/examples/Makefile.in
@@ -57,7 +57,7 @@ strip :
 	strip $(PROGRAMS)
 
 audioprobe: @objects@
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp $(OBJECT_PATH)/*.o $(LIBRARY) -lrtaudio
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY) -lrtaudio
 
 midiprobe:
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o midiprobe midiprobe.cpp $(LIBRARY) -lrtmidi
diff --git a/projects/ragamatic/Makefile.in b/projects/ragamatic/Makefile.in
index 6426909..24a5500 100644
--- a/projects/ragamatic/Makefile.in
+++ b/projects/ragamatic/Makefile.in
@@ -53,7 +53,7 @@ $(OBJECT_PATH)/.placeholder:
 	touch $(OBJECT_PATH)/.placeholder
 
 ragamat: ragamat.cpp $(OBJECTS)
-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat ragamat.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
+	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat ragamat.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
 
 libragamat: ragamat.cpp Tabla.cpp Drone.cpp VoicDrum.cpp
 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat Tabla.cpp Drone.cpp VoicDrum.cpp ragamat.cpp -L../../src -lstk $(LIBRARY)
diff --git a/src/Makefile.in b/src/Makefile.in
index df82595..223be7c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -90,7 +90,7 @@ $(STATICLIB) : $(OBJECTS)
 
 $(SHAREDLIB) : $(OBJECTS)
 	$(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB)
-	$(CC) $(LDFLAGS) -fPIC @libflags@ $(OBJECT_PATH)/*.o $(LIBS)
+	$(CC) $(LDFLAGS) -fPIC @libflags@ `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBS)
 	$(LN) -s @sharedname@ $(SHAREDLIB)
 
 install-headers: