gnu: mpc123: Allow compilation with GCC 10.
* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call 'setenv'.master
parent
246be10315
commit
83168079ac
|
@ -544,7 +544,9 @@ format.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
(("CC[[:blank:]]*:=.*")
|
(("CC[[:blank:]]*:=.*")
|
||||||
"CC := gcc\n"))))
|
"CC := gcc\n"))
|
||||||
|
|
||||||
|
(setenv "CFLAGS" "-fcommon -g"))) ;allow compilation with GCC 10
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Reference in New Issue