ruby: use ATOMIC64_DEPENDS

The open-coded architecture list pulls libatomic onto ARMv6K and ARMv7
targets although they inline 64-bit atomics, and still names the
removed arc architecture. ATOMIC64_DEPENDS covers exactly the targets
that need it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-16 16:35:19 +01:00
1 parent cc100f7a59
commit 435792539d
1 file changed
+2 -3
+2 -3
View File
@@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ruby
PKG_VERSION:=4.0.2
PKG_RELEASE:=1
PKG_RELEASE:=2
# First two numbes
PKG_ABI_VERSION:=$(subst $(space),.,$(wordlist 1, 2, $(subst .,$(space),$(PKG_VERSION))))
@@ -221,8 +221,7 @@ $(call Package/ruby/Default)
CATEGORY:=Libraries
TITLE+= (shared library)
DEPENDS+= +libpthread +librt +libgmp +zlib
# Extracted from OpenSSL target selection (that does not have HW atomic ops)
DEPENDS+= +(arm||armeb||mips||mipsel||powerpc||arc):libatomic
DEPENDS+= $(ATOMIC64_DEPENDS)
ABI_VERSION:=$(PKG_ABI_VERSION)
endef
define Package/libruby/install