mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: mpc123: Allow compilation with GCC 10.
* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call 'setenv'.
This commit is contained in:
parent
246be10315
commit
83168079ac
1 changed files with 3 additions and 1 deletions
|
@ -544,7 +544,9 @@ (define-public mpc123
|
|||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("CC[[:blank:]]*:=.*")
|
||||
"CC := gcc\n"))))
|
||||
"CC := gcc\n"))
|
||||
|
||||
(setenv "CFLAGS" "-fcommon -g"))) ;allow compilation with GCC 10
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue