guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 08/21: gnu: bdb-4.8: Fix configure on powerpc64le-linux.
Date: Sun, 28 Feb 2021 01:24:38 -0500 (EST)

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

commit 9b277b16b0db25d69a1f27518728ffe18d98ffbc
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 d307914..daefc44 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -76,6 +77,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]