diff options
author | Leo Le Bouter <lle-bout@zaclys.net> | 2021-02-07 17:47:32 +0100 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2021-03-10 23:02:00 -0800 |
commit | 6ce82781c0a5ffac380b8b066988a66bb4ff6a6f (patch) | |
tree | 18ff6b79e976cbcc32c7f75c4d2a90cf01c471f9 | |
parent | 638bfff85397431af9d53e2604fc83d5eaf3945e (diff) |
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>
-rw-r--r-- | gnu/packages/dbm.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm index d307914d41..daefc444ab 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)) '()) |