File: honour_cppflags.patch

package info (click to toggle)
solfege 3.23.4-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 29,492 kB
  • sloc: python: 26,937; xml: 4,380; ansic: 1,544; sh: 807; makefile: 656; perl: 8; exp: 7
file content (15 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Honour CPPFLAGS to support additional (hardening) flags
Forwarded: https://savannah.gnu.org/bugs/index.php?53116

--- a/solfege/soundcard/Makefile
+++ b/solfege/soundcard/Makefile
@@ -24,7 +24,7 @@
 	$(wildcard solfege/soundcard/tests/*.py)
 
 CFLAGS:=$(CFLAGS) -I/usr/src/linux/include -Wall -pedantic -fPIC -I.
-CC:=$(CC) $(CFLAGS) -DHAVE_CONFIG_H 
+CC:=$(CC) $(CPPFLAGS) $(CFLAGS) -DHAVE_CONFIG_H 
 
 ifeq ($(ENABLE_OSS_SOUND),yes)
  ifdef SWIG