[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.
From: |
guix-commits |
Subject: |
03/12: gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux. |
Date: |
Thu, 22 Apr 2021 04:00:32 -0400 (EDT) |
efraim pushed a commit to branch wip-ppc
in repository guix.
commit 0f7980ce5048d058aabc7ef63d876c43824196cf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 18 12:51:34 2021 +0300
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.
---
gnu/packages/commencement.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 36ebcee..93caaac 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2733,12 +2733,12 @@ exec " gcc "/bin/" program
"--disable-shared"
"--enable-languages=c,c++"
- ;; 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")
- '())
+ ;; On POWER9 (little endian) glibc needs the 128-bit
+ ;; long double type. 32-bit PPC is affected by the
+ ;; changes applied for powerpc64le.
+ ,@(if (string-prefix? "powerpc" (boot-triplet))
+ '("--with-long-double-128")
+ '())
;; libstdc++ cannot be built at this stage
;; ("Link tests are not allowed after
- branch wip-ppc created (now 93d8571), guix-commits, 2021/04/22
- 03/12: gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.,
guix-commits <=
- 05/12: gnu: mesa: Add support for powerpc-linux., guix-commits, 2021/04/22
- 10/12: gnu: nss: Skip tests on powerpc-linux., guix-commits, 2021/04/22
- 02/12: gnu: guile-3.0: Fix building on powerpc-linux., guix-commits, 2021/04/22
- 01/12: gnu: bootstrap: Add support for powerpc-linux., guix-commits, 2021/04/22
- 04/12: gnu: binutils: Fix bug in test suite in libiberty., guix-commits, 2021/04/22
- 09/12: gnu: mercurial: Skip tests on powerpc-linux., guix-commits, 2021/04/22
- 07/12: gnu: american-fuzzy-lop: Add support for powerpc-linux., guix-commits, 2021/04/22
- 06/12: gnu: Add mac-fdisk., guix-commits, 2021/04/22
- 11/12: gnu: zstd: Adjust test suite for 32-bit architectures., guix-commits, 2021/04/22
- 08/12: build: qemu-command: Add support for powerpc., guix-commits, 2021/04/22