diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-02 09:27:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 21:48:17 +0200 |
commit | 744e06c867925b29682a75f8a1a19bb7b775fb13 (patch) | |
tree | 6a88b1a264f3e3d51efc52cfb55b0f276146ff83 /gnu/packages/multiprecision.scm | |
parent | 568c12d7266c7372f04f16bcb91cbe0f88d9e70b (diff) | |
download | guix-744e06c867925b29682a75f8a1a19bb7b775fb13.tar.gz guix-744e06c867925b29682a75f8a1a19bb7b775fb13.zip |
gnu: gmp: Fix building on x86_64-linux-gnux32.
* gnu/packages/multiprecision.scm (gmp)[arguments]: When building for
x86_64-linux-gnux32 add a configure-flag to use the x32 ABI.
Change-Id: I321c707b3f7df5eeb338f03dacf08b29181ecf53
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/multiprecision.scm')
-rw-r--r-- | gnu/packages/multiprecision.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 0c6255c129..591170b508 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org> -;;; Copyright © 2018, 2019, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2018, 2019, 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> @@ -71,6 +71,8 @@ ;; they produce different headers. We need shared. `("--disable-static" "--enable-shared")) + ((target-x32?) + `("ABI=x32")) (else '()))) ;; Remove after core-updates merge. ;; Workaround for gcc-7 transition breakage, -system and cross-build, |