]> git.99rst.org Git - openwrt-packages.git/commitdiff
ruby: use ATOMIC64_DEPENDS
authorDaniel Golle <redacted>
Thu, 10 Sep 2026 12:07:07 +0000 (13:07 +0100)
committerDaniel Golle <redacted>
Wed, 16 Sep 2026 15:35:19 +0000 (16:35 +0100)
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 <redacted>
lang/ruby/Makefile

index ed8bf809341ea9e4515ddf3aacad5dea7516c1f4..20c50a34ab7bb6c7bb8e6581b3ebb724aa3eefab 100644 (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
git clone https://git.99rst.org/PROJECT