diff options
author | Paul Gevers <elbrus@debian.org> | 2020-05-10 17:26:14 +0200 |
---|---|---|
committer | Abou Al Montacir <abou.almontacir@sfr.fr> | 2020-05-10 17:26:14 +0200 |
commit | 15e73f86445d560c7ed0452a7965c3d3cdd197be (patch) | |
tree | ed70c45a947fbec729ecdd40ffaa3184e60a9019 | |
parent | 47ac66c0a56af6f4893e8e26e922b975263170a3 (diff) |
In order to enable hardening flags we need to pass them to
QMAKE. According to
https://wiki.debian.org/Hardening#Notes_for_packages_using_QMake this is the
easiest way.
Gbp-Pq: Name enable_hardening.patch
-rw-r--r-- | Qt5Pas.pro | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,7 +8,11 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #****************************************************************************** - +# As described on https://wiki.debian.org/Hardening#Notes_for_packages_using_QMake +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) # Binding Release Version 2.6 against Qt5 5.6 LTS release. # WebKit widgets are disabled until webenginewidgets are implemented. |