File: 02-buildflags.patch

package info (click to toggle)
diffpdf 2.1.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 628 kB
  • ctags: 312
  • sloc: cpp: 3,366; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: teach qmake to use the compiling flags from the environment
Author: Mattia Rizzolo <mattia@debian.org>
Last-Update: 2016-09-27
Forwarded: no

--- a/diffpdf.pro
+++ b/diffpdf.pro
@@ -32,6 +32,9 @@
 TRANSLATIONS += diffpdf_es.ts
 CODECFORTR    = UTF-8
 LIBS	     += -lpoppler-qt4
+QMAKE_CFLAGS += $$(CPPFLAGS) $$(CFLAGS)
+QMAKE_CXXFLAGS += $$(CPPFLAGS) $$(CXXFLAGS)
+QMAKE_LFLAGS += $$(LDFLAGS)
 win32 {
     CONFIG += release
 }