File: cppflags.patch

package info (click to toggle)
sim4 0.0.20121010-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,896 kB
  • sloc: ansic: 8,496; makefile: 31; sh: 15
file content (18 lines) | stat: -rw-r--r-- 550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: propagate CPPFLAGS.
 This change is necessary for complete executable hardening using the
 standard Debian build flags.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2025-10-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- sim4.orig/Makefile
+++ sim4/Makefile
@@ -8,6 +8,6 @@
 LDLIBS=-lm
  
 sim4:
-	$(CC) -o sim4 -I. $(CFLAGS) `LC_ALL=C ls *.c` $(LDLIBS) $(LDFLAGS)
+	$(CC) $(CPPFLAGS) -o sim4 -I. $(CFLAGS) `LC_ALL=C ls *.c` $(LDLIBS) $(LDFLAGS)
 clean:
 	rm -f sim4 *.o