Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 44ef450d2cc1705f1cc34230632d10d9 > files > 1

diffpdf-2.1.3-8.mga7.src.rpm

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
 }