File: 04-hardening-cppflags.patch

package info (click to toggle)
tuxguitar 1.6.6%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 30,512 kB
  • sloc: java: 134,764; ansic: 4,784; xml: 3,398; sh: 1,090; perl: 207; makefile: 24; javascript: 3
file content (39 lines) | stat: -rw-r--r-- 985 bytes parent folder | 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
Description: pass CPPFLAGS (hardening)
Origin: vendor
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2024-08-24

--- a/desktop/TuxGuitar-alsa/jni/GNUmakefile
+++ b/desktop/TuxGuitar-alsa/jni/GNUmakefile
@@ -10,7 +10,7 @@
 OBJECTS=org_herac_tuxguitar_player_impl_midiport_alsa_MidiSystem.o
 
 %.o: %.c
-	$(CC) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 all:    $(LIBRARY)
 
--- a/desktop/TuxGuitar-fluidsynth/jni/GNUmakefile
+++ b/desktop/TuxGuitar-fluidsynth/jni/GNUmakefile
@@ -11,7 +11,7 @@
 OBJECTS=org_herac_tuxguitar_player_impl_midiport_fluidsynth_MidiSynth.o
 
 %.o: %.c
-	$(CC) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 all:    $(LIBRARY)
 
--- a/desktop/TuxGuitar-jack/jni/GNUmakefile
+++ b/desktop/TuxGuitar-jack/jni/GNUmakefile
@@ -11,7 +11,7 @@
 OBJECTS=org_herac_tuxguitar_jack_JackClient.o
 
 %.o: %.c
-	$(CC) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 all:    $(LIBRARY)