[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: libelf: Fix compilation for powerpc64le-linux.
From: |
guix-commits |
Subject: |
06/06: gnu: libelf: Fix compilation for powerpc64le-linux. |
Date: |
Sat, 13 Feb 2021 19:14:16 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit a770e2cca26468183cf44c07235fe1290921a82b
Author: Leo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Tue Feb 9 06:10:02 2021 +0100
gnu: libelf: Fix compilation for powerpc64le-linux.
* gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure
phase
to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on
powerpc64le-linux.
Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
---
gnu/packages/elf.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index 5445986..49b19fb 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Mark Wielaard <mark@klomp.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -202,6 +203,10 @@ static analysis of the ELF binaries at hand.")
(setenv "CONFIG_SHELL" (which "bash"))
(invoke "./configure"
(string-append "--prefix=" out)
+ ,@(if (string=? "powerpc64le-linux"
+ (%current-system))
+ '("--host=powerpc64le-unknown-linux-gnu")
+ '())
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
- branch wip-ppc64le updated (d58e6fb -> a770e2c), guix-commits, 2021/02/13
- 02/06: gnu: lz4: Disable parallel testing., guix-commits, 2021/02/13
- 01/06: gnu: bdb-4.8: Fix configure on powerpc64le-linux., guix-commits, 2021/02/13
- 04/06: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/02/13
- 06/06: gnu: libelf: Fix compilation for powerpc64le-linux.,
guix-commits <=
- 03/06: gnu: guile-avahi: Fix compilation on powerpc64le-linux., guix-commits, 2021/02/13
- 05/06: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/02/13