|
@@ -23,6 +23,10 @@ RUBY_CPE_ID_VENDOR = ruby-lang
|
|
# 0001-fix-default-coroutine-selection.patch
|
|
# 0001-fix-default-coroutine-selection.patch
|
|
RUBY_AUTORECONF = YES
|
|
RUBY_AUTORECONF = YES
|
|
|
|
|
|
|
|
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
+RUBY_CONF_ENV += LIBS=-latomic
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
# On uClibc, finite, isinf and isnan are not directly implemented as
|
|
# On uClibc, finite, isinf and isnan are not directly implemented as
|
|
# functions. Instead math.h #define's these to __finite, __isinf and
|
|
# functions. Instead math.h #define's these to __finite, __isinf and
|