GNU bug report logs -
#47349
[PATCH] gnu: cross-base: Relax check for powerpc64le
Previous Next
Reported by: Carl Dong <contact <at> carldong.me>
Date: Tue, 23 Mar 2021 16:05:02 UTC
Severity: normal
Tags: patch
Done: Carl Dong <contact <at> carldong.me>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The canonical triplet for powerpc64le-linux-gnu is actually
powerpc64le-unknown-linux-gnu, we should relax our matching here.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Check for
"powerpc64le-" prefix for "--with-long-double-128" instead of matching
full target.
---
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 bea2d69876..180594509b 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")
--
2.30.1
This bug report was last modified 4 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.