summary refs log tree commit diff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-09-19 16:04:44 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-09-19 21:33:44 +0200
commitfb1d8d2baab907493367930e8069f937a5187b61 (patch)
treefa75d743819eed8160de542bab2c5986a03b5164 /gnu/packages/music.scm
parent923b2b5a48de6c986cab26ee45db1f0e9aaa7269 (diff)
downloadguix-fb1d8d2baab907493367930e8069f937a5187b61.tar.gz
gnu: klick: Fix build with GCC 7.
* gnu/packages/music.scm (klick)[arguments]: Pass -fpermissive to compiler.
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2b30308861..b81c2cb782 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -777,6 +777,11 @@ audio and video).")
        #:tests? #f ; no "check" target
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'be-permissive
+           (lambda _
+             (substitute* "SConstruct"
+               (("'-Wall'") "'-Wall', '-fpermissive'"))
+             #t))
          (add-after 'unpack 'replace-removed-scons-syntax
            (lambda _
              (substitute* "SConstruct"