gnu: klick: Fix build with GCC 7.

* gnu/packages/music.scm (klick)[arguments]: Pass -fpermissive to compiler.
This commit is contained in:
Ricardo Wurmus 2019-09-19 16:04:44 +02:00
parent 923b2b5a48
commit fb1d8d2baa
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -777,6 +777,11 @@ audio and video).")
#:tests? #f ; no "check" target #:tests? #f ; no "check" target
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'be-permissive
(lambda _
(substitute* "SConstruct"
(("'-Wall'") "'-Wall', '-fpermissive'"))
#t))
(add-after 'unpack 'replace-removed-scons-syntax (add-after 'unpack 'replace-removed-scons-syntax
(lambda _ (lambda _
(substitute* "SConstruct" (substitute* "SConstruct"