File: blhc.diff

package info (click to toggle)
recoll 1.43.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,468 kB
  • sloc: cpp: 103,827; python: 9,498; xml: 7,218; ansic: 6,447; sh: 1,212; perl: 130; makefile: 72
file content (18 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix CPP/CXX flags for blhc
Author: Kartik Mistry <kartik@debian.org>, Jean-Francois Dockes <jf@dockes.org>
Forwarded: not-needed
--- a/qtgui/recoll.pro.in
+++ b/qtgui/recoll.pro.in
@@ -408,6 +408,12 @@ VPATH = @srcdir@
 # For SingleApplication
 include(@srcdir@/singleapplication.pri)
 
+QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
+QMAKE_CFLAGS   *= $(shell dpkg-buildflags --get CFLAGS)
+QMAKE_CXXFLAGS += -std=c++11 -D_FORTIFY_SOURCE=2
+QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS)
+QMAKE_LFLAGS   *= $(shell dpkg-buildflags --get LDFLAGS)
+
 @QMAKE_ENABLE_WEBKIT@QT += webkitwidgets
 @QMAKE_ENABLE_WEBKIT@DEFINES += USING_WEBKIT