summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>2018-06-19 13:58:18 -0400
committerReinhard Tartler <siretart@tauware.de>2018-06-19 13:58:18 -0400
commit0dca0d627079ad097fc5580fc1c9899fcb380fe4 (patch)
tree07de7486f2cff0fecfcdf2993567367580b21bb9
parent0407903de87e3e4e8cb3d670b5526bababff0e11 (diff)
add-debian-hardening-flags
Gbp-Pq: Name 05-add-debian-hardening-flags.patch
-rw-r--r--src/smplayer.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smplayer.pro b/src/smplayer.pro
index f10ee33..6632ee2 100644
--- a/src/smplayer.pro
+++ b/src/smplayer.pro
@@ -5,6 +5,11 @@ CONFIG += qt warn_on
CONFIG += release
#CONFIG += debug
+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)
+
QT += network xml
RESOURCES = icons.qrc H2O.qrc