mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: inkscape: Fix build with newer GLibmm.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Add #:configure-flags.
This commit is contained in:
parent
938ecdfcab
commit
5e3bfe9d01
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,11 @@ (define-public inkscape
|
|||
("perl" ,perl)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(arguments
|
||||
`(#:phases (alist-cons-after
|
||||
`(;; Add '-std=c++11', required by recent versions of GLibmm & co.
|
||||
;; Use '-g0' to reduce disk usage during the build.
|
||||
#:configure-flags '("CXXFLAGS=-g0 -O2 -fopenmp -std=c++11")
|
||||
|
||||
#:phases (alist-cons-after
|
||||
'unpack 'fix-test-includes
|
||||
(lambda _
|
||||
(substitute* "src/cxxtests.cpp"
|
||||
|
|
Loading…
Reference in a new issue