gnu: lame: Build with gcc-4.8 on i686.

* gnu/packages/mp3.scm (lame)[native-inputs]: When compiling natively on i686,
  add gcc-4.8.
This commit is contained in:
Mark H Weaver 2015-06-21 14:08:39 -04:00
parent 180a93c72a
commit 194782a881

View file

@ -21,6 +21,8 @@ (define-module (gnu packages mp3)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages gcc)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages compression)
#:use-module (gnu packages gettext)
@ -335,6 +337,12 @@ (define-public lame
(base32
"1zr3kadv35ii6liia0bpfgxpag27xcivp571ybckpbz4b10nnd14"))))
(build-system gnu-build-system)
;; XXX FIXME: Use gcc-4.8 on i686 to work around
;; <http://bugs.gnu.org/20856>.
(native-inputs (if (and (not (%current-target-system))
(string-prefix? "i686-" (%current-system)))
`(("gcc" ,(canonical-package gcc-4.8)))
'()))
(home-page "http://lame.sourceforge.net/")
(synopsis "MPEG Audio Layer III (MP3) encoder")
(description "LAME is a high quality MPEG Audio Layer III (MP3) encoder.")