3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: mpc123: Allow compilation with GCC 10.

* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call
'setenv'.
This commit is contained in:
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

View file

@ -544,7 +544,9 @@ format.")
(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"))