summary refs log tree commit diff
path: root/gnu/packages/mp3.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-06-21 14:08:39 -0400
committerMark H Weaver <mhw@netris.org>2015-06-21 14:08:39 -0400
commit194782a881fbcf6ac47122a0e85fbe5b69c6af58 (patch)
treefa9756bf18cd2860fafe7676972e0b209ec8fda6 /gnu/packages/mp3.scm
parent180a93c72a69e6e322da1226c4d439a321279490 (diff)
downloadguix-194782a881fbcf6ac47122a0e85fbe5b69c6af58.tar.gz
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.
Diffstat (limited to 'gnu/packages/mp3.scm')
-rw-r--r--gnu/packages/mp3.scm8
1 files changed, 8 insertions, 0 deletions
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
+    ;; <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.")