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
This commit is contained in:
Janneke Nieuwenhuizen 2024-11-20 08:19:28 +01:00
parent 877b925df1
commit 62130a7f4d
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -2288,6 +2288,14 @@ (define (make-libstdc++-boot0 gcc)
#: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