From 194782a881fbcf6ac47122a0e85fbe5b69c6af58 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 21 Jun 2015 14:08:39 -0400 Subject: 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. --- gnu/packages/mp3.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/mp3.scm') diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index 55ab4b497c..c7efbae8c1 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -21,6 +21,8 @@ #: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 @@ use with CD-recording software).") (base32 "1zr3kadv35ii6liia0bpfgxpag27xcivp571ybckpbz4b10nnd14")))) (build-system gnu-build-system) + ;; XXX FIXME: Use gcc-4.8 on i686 to work around + ;; . + (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.") -- cgit v1.2.3