aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-11-20 08:19:28 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-03 08:39:01 +0100
commit62130a7f4dc6aa3c364b1eec1f33d5a5d6177795 (patch)
tree9184203cd5b1774a25ff4fdea5b1b4df342fed4e
parent877b925df16740f9419d165d39cb7f191a86d5d1 (diff)
downloadguix-62130a7f4dc6aa3c364b1eec1f33d5a5d6177795.tar
guix-62130a7f4dc6aa3c364b1eec1f33d5a5d6177795.tar.gz
gnu: commencement: libstdc++-boot0: Support the 64bit Hurd.
* gnu/packages/commencement.scm (make-libstdc++-boot0)[arguments]: When creating libstdc++-boot0 for the 64bit Hurd, add disable options similar to libstdc++ to #:configure-flags. Change-Id: I00636fa48e38823b00ede7dcbd0c1c23544d898c
-rw-r--r--gnu/packages/commencement.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index dab65c7ca1..2a32485fc0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2288,6 +2288,14 @@ exec " gcc "/bin/" program
#:validate-runpath? #f
,@(substitute-keyword-arguments (package-arguments lib)
+ ((#:configure-flags flags)
+ (if (target-hurd64?)
+ #~(cons* "--disable-shared"
+ "--disable-libstdcxx-dual-abi"
+ "--disable-libstdcxx-threads"
+ "--disable-libstdcxx-pch"
+ #$flags)
+ flags))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'unpack-gmp&co