diff --git a/gnu/packages/jemalloc.scm b/gnu/packages/jemalloc.scm index 8a25cb08b8..5b4c2e0853 100644 --- a/gnu/packages/jemalloc.scm +++ b/gnu/packages/jemalloc.scm @@ -20,6 +20,8 @@ (define-module (gnu packages jemalloc) #:use-module ((guix licenses) #:select (bsd-2)) #:use-module (guix packages) #:use-module (guix download) + #:use-module (gnu packages base) + #:use-module (gnu packages gcc) #:use-module (guix build-system gnu)) (define-public jemalloc @@ -35,6 +37,12 @@ (define-public jemalloc (base32 "1zl4vxxjvhg72bdl53sl0idz9wp18c6yzjdmqcnwm09wvmcj2v71")))) (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://www.canonware.com/jemalloc/") (synopsis "General-purpose scalable concurrent malloc implementation") (description