[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: cross-base: Relax check for powerpc64le.
From: |
guix-commits |
Subject: |
branch master updated: gnu: cross-base: Relax check for powerpc64le. |
Date: |
Sun, 28 Mar 2021 14:19:55 -0400 |
This is an automated email from the git hooks/post-receive script.
marusich pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 58452d0 gnu: cross-base: Relax check for powerpc64le.
58452d0 is described below
commit 58452d08ff3e0044e9a32e6d5b3663cf185d8b33
Author: Carl Dong <contact@carldong.me>
AuthorDate: Sun Mar 28 10:51:16 2021 -0700
gnu: cross-base: Relax check for powerpc64le.
* gnu/packages/cross-base.scm (cross-gcc-arguments): When conditionally
adding
"--with-long-double-128", check for "powerpc64le-" prefix instead of
matching
full target.
Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
---
gnu/packages/cross-base.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index bea2d69..1805945 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -153,7 +153,7 @@ 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)
+ ,@(if (string-prefix? "powerpc64le-" target)
;; On POWER9 (little endian) glibc needs
;; the 128-bit long double type.
'("--with-long-double-128")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: cross-base: Relax check for powerpc64le.,
guix-commits <=