diff options
author | André Draszik <andre.draszik@jci.com> | 2019-10-01 10:54:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-02 10:09:48 +0100 |
commit | efa2caab22e5c9b37132f869c91b8cbb400df1ee (patch) | |
tree | 969f887f7193b1f32a3ad91708007f17b717d3fd /meta/recipes-devtools/ruby/ruby_2.5.5.bb | |
parent | 42627175955260a26db549db5ec5813c2339aa99 (diff) | |
download | poky-efa2caab22e5c9b37132f869c91b8cbb400df1ee.tar.gz |
ruby: configure mis-detects isnan/isinf on musl
The configure script does not detect isnan/isinf as macros
as is the case in musl:
checking for isinf... no
checking for isnan... no
Backport an upstream patch from 2.7.0-preview1 to address this:
checking whether isinf is declared... yes
checking whether isnan is declared... yes
(From OE-Core rev: b1afaccdba31341cace4b8d84d118ca76098587e)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_2.5.5.bb')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby_2.5.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_2.5.5.bb b/meta/recipes-devtools/ruby/ruby_2.5.5.bb index 4082b02f14..341329a6a1 100644 --- a/meta/recipes-devtools/ruby/ruby_2.5.5.bb +++ b/meta/recipes-devtools/ruby/ruby_2.5.5.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | require ruby.inc | 1 | require ruby.inc |
2 | 2 | ||
3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
4 | file://0001-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch \ | ||
4 | file://run-ptest \ | 5 | file://run-ptest \ |
5 | " | 6 | " |
6 | 7 | ||