diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-31 13:17:23 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-31 13:17:23 +0100 |
commit | 3c3e69728c10bcdffa0c597b2b80a482361aea14 (patch) | |
tree | 28b3085380904dd7d282eb85f00e7445f8e029b9 /gnu/packages/audio.scm | |
parent | ef89cb4263e14887385ef8240b040be052c741c1 (diff) | |
download | guix-3c3e69728c10bcdffa0c597b2b80a482361aea14.tar.gz |
gnu: guitarix: Compile in C++11 mode.
* gnu/packages/patches/guitarix-c++11.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/audio.scm (guitarix)[source]: Use it. [arguments]: Add --cxxflags to #:configure-flags.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 404a5d9d62..92ece7a47e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -536,7 +536,8 @@ patches that can be used with softsynths such as Timidity and WildMidi.") version ".tar.bz2")) (sha256 (base32 - "1w6dg2n0alfjsx1iy6s53783invygwxk11p1i65cc3nq3zlidcgx")))) + "1w6dg2n0alfjsx1iy6s53783invygwxk11p1i65cc3nq3zlidcgx")) + (patches (list (search-patch "guitarix-c++11.patch"))))) (build-system waf-build-system) (arguments `(#:tests? #f ; no "check" target @@ -544,7 +545,8 @@ patches that can be used with softsynths such as Timidity and WildMidi.") #:configure-flags (list ;; Add the output lib directory to the RUNPATH. - (string-append "--ldflags=-Wl,-rpath=" %output "/lib")))) + (string-append "--ldflags=-Wl,-rpath=" %output "/lib") + "--cxxflags=-std=c++11"))) (inputs `(("libsndfile" ,libsndfile) ("boost" ,boost) |