gnu: klick: Fix build with GCC 7.

* gnu/packages/music.scm (klick)[arguments]: Pass -fpermissive to compiler.
master
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
#: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"