diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-09-11 12:01:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-11 18:14:06 +0200 |
commit | 83168079ac176563ed2b448bb1b2fd0e5d4a5dc3 (patch) | |
tree | cba9f5a66e3a4e59845d03c0aba44ec8bd7bdfd4 /gnu/packages/mp3.scm | |
parent | 246be103155c362df558a3c36c905c69f8215ae7 (diff) | |
download | guix-83168079ac176563ed2b448bb1b2fd0e5d4a5dc3.tar guix-83168079ac176563ed2b448bb1b2fd0e5d4a5dc3.tar.gz |
gnu: mpc123: Allow compilation with GCC 10.
* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call
'setenv'.
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r-- | gnu/packages/mp3.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index bb9c07bc9d..43398f1e46 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -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")) |