From: Daniel Golle Date: Thu, 10 Sep 2026 12:07:07 +0000 (+0100) Subject: ruby: use ATOMIC64_DEPENDS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=435792539da61d6083968583a907322e64b65682;p=openwrt-packages.git 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 --- diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index ed8bf8093..20c50a34a 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/Makefile @@ -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