gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust configure-flag to also use '--with-long-double-128' on powerpc-linux.
This commit is contained in:
parent
cbdb7d4fea
commit
dc25a9dfa8
1 changed files with 6 additions and 6 deletions
|
|
@ -2732,10 +2732,10 @@ exec " gcc "/bin/" program
|
||||||
"--disable-shared"
|
"--disable-shared"
|
||||||
"--enable-languages=c,c++"
|
"--enable-languages=c,c++"
|
||||||
|
|
||||||
;; boot-triplet inserts "guix" in the triplet.
|
;; On POWER9 (little endian) glibc needs the 128-bit
|
||||||
,@(if (equal? "powerpc64le-guix-linux-gnu" (boot-triplet))
|
;; long double type. 32-bit PPC is affected by the
|
||||||
;; On POWER9 (little endian) glibc needs the
|
;; changes applied for powerpc64le.
|
||||||
;; 128-bit long double type.
|
,@(if (string-prefix? "powerpc" (boot-triplet))
|
||||||
'("--with-long-double-128")
|
'("--with-long-double-128")
|
||||||
'())
|
'())
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue