From: Carl Dong <contact@carldong.me>
To: 47349@debbugs.gnu.org
Cc: Carl Dong <contact@carldong.me>
Subject: [bug#47349] [PATCH] gnu: cross-base: Relax check for powerpc64le
Date: Tue, 23 Mar 2021 12:02:13 -0400 [thread overview]
Message-ID: <20210323160213.1194843-1-contact@carldong.me> (raw)
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
next reply other threads:[~2021-03-23 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 16:02 Carl Dong [this message]
2021-03-25 16:09 ` [bug#47349] [PATCH] gnu: cross-base: Relax check for powerpc64le Léo Le Bouter via Guix-patches via
2021-03-26 6:27 ` Chris Marusich
2021-03-26 10:31 ` Andreas Enge
2021-03-26 14:33 ` Léo Le Bouter via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210323160213.1194843-1-contact@carldong.me \
--to=contact@carldong.me \
--cc=47349@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.