[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: jemalloc: Build with gcc-4.8 on i686.
From: |
Mark H. Weaver |
Subject: |
02/02: gnu: jemalloc: Build with gcc-4.8 on i686. |
Date: |
Sun, 21 Jun 2015 18:15:06 +0000 |
mhw pushed a commit to branch core-updates
in repository guix.
commit fc9ff915b3cfcb494dbb5c8ab767972352fa31da
Author: Mark H Weaver <address@hidden>
Date: Sun Jun 21 14:14:04 2015 -0400
gnu: jemalloc: Build with gcc-4.8 on i686.
* gnu/packages/jemalloc.scm (jemalloc)[native-inputs]: When compiling
natively
on i686, add gcc-4.8.
---
gnu/packages/jemalloc.scm | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/jemalloc.scm b/gnu/packages/jemalloc.scm
index 8a25cb0..5b4c2e0 100644
--- a/gnu/packages/jemalloc.scm
+++ b/gnu/packages/jemalloc.scm
@@ -20,6 +20,8 @@
#: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 @@
(base32
"1zl4vxxjvhg72bdl53sl0idz9wp18c6yzjdmqcnwm09wvmcj2v71"))))
(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://www.canonware.com/jemalloc/")
(synopsis "General-purpose scalable concurrent malloc implementation")
(description