From: "André Draszik" <git@andred.net>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] ruby: configure mis-detects isnan/isinf on musl
Date: Fri, 27 Sep 2019 14:54:42 +0100 [thread overview]
Message-ID: <20190927135443.15407-1-git@andred.net> (raw)
From: André Draszik <andre.draszik@jci.com>
The configure script does not detect isnan/isinf as macros
as is the case in musl.
Help it by providing the correct result via
CACHED_CONFIGUREVARS.
Signed-off-by: André Draszik <andre.draszik@jci.com>
---
meta/recipes-devtools/ruby/ruby_2.5.5.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.5.bb b/meta/recipes-devtools/ruby/ruby_2.5.5.bb
index 8ad59a7657..fdd3852a78 100644
--- a/meta/recipes-devtools/ruby/ruby_2.5.5.bb
+++ b/meta/recipes-devtools/ruby/ruby_2.5.5.bb
@@ -32,6 +32,9 @@ EXTRA_OECONF = "\
--with-pkg-config=pkg-config \
"
+# the configure script does not detect isnan/isinf as macros
+CACHED_CONFIGUREVARS_libc-musl += "ac_cv_func_isnan=yes ac_cv_func_isinf=yes"
+
do_install() {
oe_runmake 'DESTDIR=${D}' install
}
--
2.23.0.rc1
next reply other threads:[~2019-09-27 13:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 13:54 André Draszik [this message]
2019-09-27 13:54 ` [PATCH 2/2] ruby: fix non-IPv6 support André Draszik
2019-09-27 14:10 ` [PATCH v2] " André Draszik
2019-09-27 15:05 ` Alexander Kanavin
2019-09-27 15:24 ` André Draszik
2019-09-27 15:32 ` Alexander Kanavin
2019-09-30 8:17 ` André Draszik
2019-09-27 15:15 ` [PATCH 1/2] ruby: configure mis-detects isnan/isinf on musl Ross Burton
2019-09-30 8:17 ` André Draszik
2019-09-27 15:54 ` Khem Raj
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=20190927135443.15407-1-git@andred.net \
--to=git@andred.net \
--cc=openembedded-core@lists.openembedded.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox