[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/23: gnu: libelf: Fix compilation for powerpc64le-linux.
From: |
guix-commits |
Subject: |
12/23: gnu: libelf: Fix compilation for powerpc64le-linux. |
Date: |
Thu, 11 Mar 2021 02:05:02 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit b13ba3eed4bbfecd6c03819768cafebef35f23c7
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 2e21cab..aab9126 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018, 2020 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.
;;;
@@ -211,6 +212,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 created (now e8b83e7), guix-commits, 2021/03/11
- 02/23: gnu: gcc-boot0: Enable 128-bit long double for POWER9., guix-commits, 2021/03/11
- 06/23: gnu: gcc-4.7: On powerpc64le, fix /lib64 references., guix-commits, 2021/03/11
- 09/23: gnu: guile-avahi: Fix compilation on powerpc64le-linux., guix-commits, 2021/03/11
- 01/23: gnu: bootstrap: Add support for powerpc64le-linux., guix-commits, 2021/03/11
- 10/23: gnu: texlive-bin: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 12/23: gnu: libelf: Fix compilation for powerpc64le-linux.,
guix-commits <=
- 14/23: syscalls: Fix clone on powerpc64le-linux., guix-commits, 2021/03/11
- 03/23: utils: Add target-powerpc? procedure., guix-commits, 2021/03/11
- 07/23: gnu: glibc: Fix ldd path on powerpc*., guix-commits, 2021/03/11
- 05/23: gnu: binutils-final: Support more Power architectures., guix-commits, 2021/03/11
- 04/23: gnu: binutils-final: Provide bash for binary on powerpc-linux., guix-commits, 2021/03/11
- 11/23: gnu: texlive-latex-base: Fix compilation on powerpc64le*., guix-commits, 2021/03/11
- 19/23: tests: pack: Fix %gzip-compressor and a failing test., guix-commits, 2021/03/11
- 16/23: ci: %cross-targets: Add powerpc64le-linux-gnu., guix-commits, 2021/03/11
- 23/23: tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH., guix-commits, 2021/03/11
- 17/23: utils: Fix target-64bit? on powerpc64le-linux., guix-commits, 2021/03/11