File: enable-hardening.diff

package info (click to toggle)
qabc 1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: cpp: 2,338; xml: 48; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 601 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Enable hardening
Author: BenoƮt Rouits <brouits@free.fr>
Last-Update: 2025-10-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/qabc.pro
+++ b/qabc.pro
@@ -58,3 +58,7 @@
 metainfo.path = $$DATADIR/metainfo
 metainfo.files = fr.free.brouits.qabc.metainfo.xml
 INSTALLS += target translations desktop icon mime manual metainfo
+QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
+QMAKE_CFLAGS   *= $(shell dpkg-buildflags --get CFLAGS)
+QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
+QMAKE_LFLAGS   *= $(shell dpkg-buildflags --get LDFLAGS)