mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: gcc-boot0: Enable 128-bit long double for POWER9.
* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add --with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu", instead of "powerpc64le-linux-gnu", which is incorrect. The actual triplet used during bootstrapping is "powerpc64le-guix-linux-gnu".
This commit is contained in:
parent
6e98e9ca92
commit
b2135b5d57
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com>
|
||||
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
|
||||
;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -2818,7 +2819,8 @@ (define gcc-boot0
|
|||
"--disable-shared"
|
||||
"--enable-languages=c,c++"
|
||||
|
||||
,@(if (equal? "powerpc64le-linux-gnu" (boot-triplet))
|
||||
;; boot-triplet inserts "guix" in the triplet.
|
||||
,@(if (equal? "powerpc64le-guix-linux-gnu" (boot-triplet))
|
||||
;; On POWER9 (little endian) glibc needs the
|
||||
;; 128-bit long double type.
|
||||
'("--with-long-double-128")
|
||||
|
|
Loading…
Reference in a new issue