[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: cross-gcc-arguments: Enable 128 bit long double for POWER9.
From: |
guix-commits |
Subject: |
01/01: gnu: cross-gcc-arguments: Enable 128 bit long double for POWER9. |
Date: |
Fri, 20 Nov 2020 18:35:31 -0500 (EST) |
nckx pushed a commit to branch wip-ppc64le
in repository guix.
commit c1047000a7b1bf0f2eeb12304ddcb4dc1b605e7c
Author: dftxbs3e <dftxbs3e@free.fr>
AuthorDate: Sat Dec 7 20:27:12 2019 +0100
gnu: cross-gcc-arguments: Enable 128 bit long double for POWER9.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
gnu/packages/cross-base.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index c1e5f2e..e9c2ffc 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -153,6 +153,11 @@ base compiler and using LIBC (which may be either a libc
package or #f.)"
"--disable-decimal-float" ;would need libc
"--disable-libcilkrts"
+ ,@(if (equal? "powerpc64le-linux-gnu" target)
+ ;; On POWER9 (little endian) glibc needs
the 128 bit long double type.
+ '("--with-long-double-128")
+ '())
+
;; When target is any OS other than 'none' these
;; libraries will fail if there is no libc
;; present. See