File: hardening.patch

package info (click to toggle)
stringtie 2.2.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,720 kB
  • sloc: cpp: 30,077; python: 429; makefile: 139; sh: 124
file content (14 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Add CPPFLAGS to compilation flags as hardening step
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-05-16
--- a/Makefile
+++ b/Makefile
@@ -148,7 +148,7 @@
 endif
 
 %.o : %.cpp
-	${CXX} ${CXXFLAGS} -c $< -o $@
+	${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< -o $@
 
 OBJS += rlink.o tablemaker.o tmerge.o