aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-10-27 20:01:35 +0800
committer宋文武 <iyzsong@gmail.com>2015-10-27 20:32:28 +0800
commitd8c317df261507ab6fe9ce58f0148ff71db3a24d (patch)
tree778890d481e998ff34af01b514fb9634b02c128e /gnu/packages/music.scm
parentc21317d4250b75ee702979c67a942a618bf29628 (diff)
downloadguix-d8c317df261507ab6fe9ce58f0148ff71db3a24d.tar
guix-d8c317df261507ab6fe9ce58f0148ff71db3a24d.tar.gz
gnu: ganv, pavucontrol, jalv: Fix build by compile with C++11.
* gnu/packages/audio.scm (jalv)[arguments], gnu/packages/gtk.scm (ganv)[arguments], gnu/packages/music.scm (non-sequencer)[arguments], gnu/packages/pulseaudio.scm (pavucontrol)[arguments]: Set 'CXXFLAGS' to '-std=c++11'.
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c693f0faf0..5dcb5449a2 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -346,6 +346,14 @@ Guile.")
(%current-system))))
'("--disable-sse")
'()))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'configure 'set-flags
+ (lambda _
+ ;; Compile with C++11, required by libsigc++.
+ (setenv "CXXFLAGS" "-std=c++11")
+ #t)))
#:python ,python-2))
(inputs
`(("jack" ,jack-1)