aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/inkscape.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-20 22:37:26 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-20 22:37:26 +0200
commit5e3bfe9d018f42324c19a5486e91d922cde40db6 (patch)
tree6401fbd5eef5b08c1942f1206dafc3a591d5db5b /gnu/packages/inkscape.scm
parent938ecdfcaba2068bca1de2db27094bfefaf207d4 (diff)
downloadguix-5e3bfe9d018f42324c19a5486e91d922cde40db6.tar
guix-5e3bfe9d018f42324c19a5486e91d922cde40db6.tar.gz
gnu: inkscape: Fix build with newer GLibmm.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Add #:configure-flags.
Diffstat (limited to 'gnu/packages/inkscape.scm')
-rw-r--r--gnu/packages/inkscape.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 76102fab05..b09e84ee08 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -74,7 +74,11 @@
("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"