diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-20 22:37:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-20 22:37:26 +0200 |
commit | 5e3bfe9d018f42324c19a5486e91d922cde40db6 (patch) | |
tree | 6401fbd5eef5b08c1942f1206dafc3a591d5db5b /gnu/packages/inkscape.scm | |
parent | 938ecdfcaba2068bca1de2db27094bfefaf207d4 (diff) | |
download | guix-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.scm | 6 |
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" |