mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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:
1 parent
cc100f7a59
commit
435792539d
1 file changed
+2
-3
+2
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user