gnu: poppler-qt5: Build with gnu++11.

* gnu/packages/pdf.scm (poppler-qt5)[arguments]: Add configure-flag.
This commit is contained in:
David Craven 2016-08-22 00:47:16 +02:00
parent 984ad832e2
commit ab1c23196f
No known key found for this signature in database
GPG Key ID: C5E051C79C0BECDB
1 changed files with 5 additions and 0 deletions

View File

@ -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