File: honour-cppflags.patch

package info (click to toggle)
sdl-ball 1.02-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 4,892 kB
  • ctags: 1,128
  • sloc: cpp: 6,920; ansic: 221; makefile: 30
file content (15 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Subject: Honour CPPFLAGS
From: Evgeni Golov <evgeni@debian.org>
Last-Update: 2013-06-23

--- sdl-ball-1.01.orig/Makefile
+++ sdl-ball-1.01/Makefile
@@ -21,7 +21,7 @@ $(EXECUTABLE): $(OBJECTS)
 	$(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
 
 .cpp.o:
-	$(CC) $(CFLAGS) $< -o $@
+	$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@
 
 clean:
 	rm -f *.o sdl-ball