guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/18: gnu: bdb-4.8: Fix configure on powerpc64le-linux.


From: guix-commits
Subject: 08/18: gnu: bdb-4.8: Fix configure on powerpc64le-linux.
Date: Fri, 12 Mar 2021 03:16:56 -0500 (EST)

marusich pushed a commit to branch wip-ppc64le-for-master
in repository guix.

commit 6eaba75d5ab5aad4efa45ae65582d91d76970187
Author: Leo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Sun Feb 7 17:47:32 2021 +0100

    gnu: bdb-4.8: Fix configure on powerpc64le-linux.
    
    * gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to 
append
    "--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling 
for
    powerpc64le-linux.
    
    Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
---
 gnu/packages/dbm.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 82647c0..2dd51ef 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -74,6 +75,11 @@
                              '("--build=aarch64-unknown-linux-gnu")
                              '())
 
+                       ;; Bdb doesn't recognize powerpc64le as an architecture.
+                       ,@(if (string=? "powerpc64le-linux" (%current-system))
+                             '("--build=powerpc64le-unknown-linux-gnu")
+                             '())
+
                        ,@(if (%current-target-system)         ; cross building
                              '((string-append "--host=" target))
                              '())



reply via email to

[Prev in Thread] Current Thread [Next in Thread]