me
/
guix
Archived
1
0
Fork 0

gnu: mpc123: Allow compilation with GCC 10.

* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call
'setenv'.
master
Ludovic Courtès 2021-09-11 12:01:13 +02:00
parent 246be10315
commit 83168079ac
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -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"))