marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit 6ce82781c0a5ffac380b8b066988a66bb4ff6a6f
Author: Leo Le Bouter <[email protected]>
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 <[email protected]>
---
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 <[email protected]>
;;; Copyright © 2018 Mark H Weaver <[email protected]>
;;; Copyright © 2020 Jakub Kądziołka <[email protected]>
+;;; Copyright © 2021 Leo Le Bouter <[email protected]>
;;;
;;; 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))
'())