aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-22 00:47:16 +0200
committerDavid Craven <david@craven.ch>2016-08-22 01:49:52 +0200
commitab1c23196fce2ef53de5cfd36a5376cfdb666526 (patch)
tree0ddb0a82a0902c3673b8100c5547aadb1782c748 /gnu
parent984ad832e21ac8683766e93a31c1e2039705fc0d (diff)
downloadguix-ab1c23196fce2ef53de5cfd36a5376cfdb666526.tar
guix-ab1c23196fce2ef53de5cfd36a5376cfdb666526.tar.gz
gnu: poppler-qt5: Build with gnu++11.
* gnu/packages/pdf.scm (poppler-qt5)[arguments]: Add configure-flag.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 4ddceddf6b..f9523c6fc1 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -26,6 +26,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
@@ -122,6 +123,10 @@
(name "poppler-qt5")
(inputs `(("qtbase" ,qtbase)
,@(package-inputs poppler)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments poppler)
+ ((#:configure-flags flags)
+ `(cons "CXXFLAGS=-std=gnu++11" ,flags))))
(synopsis "Qt5 frontend for the Poppler PDF rendering library")))
(define-public python-poppler-qt4