Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] ruby: configure mis-detects isnan/isinf on musl
@ 2019-09-27 13:54 André Draszik
  2019-09-27 13:54 ` [PATCH 2/2] ruby: fix non-IPv6 support André Draszik
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: André Draszik @ 2019-09-27 13:54 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-30  8:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-27 13:54 [PATCH 1/2] ruby: configure mis-detects isnan/isinf on musl André Draszik
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox