File: hardening.patch

package info (click to toggle)
freetype 2.12.1%2Bdfsg-5%2Bdeb12u4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,132 kB
  • sloc: ansic: 154,840; python: 5,890; sh: 4,005; cpp: 3,672; xml: 1,409; makefile: 673; perl: 340; awk: 142; javascript: 82
file content (16 lines) | stat: -rw-r--r-- 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Pass Debian's hardening CFLAGS, CPPFLAGS and LDFLAGS to the demo programs
Author: Hugh McMaster <hugh.mcmaster@outlook.com>
Forwarded: https://gitlab.freedesktop.org/freetype/freetype-demos/-/merge_requests/22
Last-Update: 2022-06-19

--- a/ft2demos/graph/rules.mk
+++ b/ft2demos/graph/rules.mk
@@ -37,7 +37,7 @@
               $(OBJ_DIR_2)/grobjs.$(O)    \
               $(OBJ_DIR_2)/grswizzle.$(O)
 
-
+CFLAGS += $(CPPFLAGS)
 
 # Default value for COMPILE_GRAPH_LIB;
 # this value can be modified by the system-specific graphics drivers.