Package: ffdiaporama / 1.5-4

fix_hardening_flags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: add LDFLAGS and CPPFLAGS to QMAKE flags. This allow the hardening
 flags to be used to compile ffdiaporama
Author: Fabrice Coutadeur <coutadeurf@gmail.com>
--- a/src/common.pri
+++ b/src/common.pri
@@ -5,6 +5,9 @@
 
 DEFINES +=SHARE_DIR=\\\"$$PREFIX\\\"
 
+QMAKE_LFLAGS += ${LDFLAGS}
+QMAKE_CXXFLAGS += ${CPPFLAGS}
+
 unix {
     CONFIG(release, debug|release) {
         DESTDIR         += ../../../build