moarvm: use libtommath
authorFrancois Perrad <fperrad@gmail.com>
Thu, 28 Apr 2016 19:59:31 +0000 (21:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Apr 2016 20:44:55 +0000 (22:44 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/moarvm/Config.in
package/moarvm/moarvm.mk

index 6bc3090dde4cd4abf605c918022c1e1e973f5626..82e4509d3a2eeb91f6507f7b1628ac9e1c3822b0 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MOARVM
        # needs AO_fetch_compare_and_swap, not implemented for sparcv9
        depends on !BR2_sparc64
        select BR2_PACKAGE_LIBUV
+       select BR2_PACKAGE_LIBTOMMATH
        select BR2_PACKAGE_LIBATOMIC_OPS
        help
          Short for "Metamodel On A Runtime", MoarVM is a virtual machine
index 734c02748c42b3941269b61704af6a7abf2ff6d7..ee58f76600fb895f61f06d726ff1e1fea2d6fef8 100644 (file)
@@ -10,7 +10,7 @@ MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz
 MOARVM_LICENSE = Artistic-2.0
 MOARVM_LICENSE_FILES = Artistic2.txt
 MOARVM_INSTALL_STAGING = YES
-MOARVM_DEPENDENCIES = host-luajit libuv libatomic_ops
+MOARVM_DEPENDENCIES = host-luajit libuv libtommath libatomic_ops
 
 MOARVM_CONF_OPTS = \
        --build=$(GNU_HOST_NAME) \
@@ -21,6 +21,7 @@ MOARVM_CONF_OPTS = \
        --prefix="/usr" \
        --lua=$(HOST_DIR)/usr/bin/luajit \
        --has-libuv \
+       --has-libtommath \
        --has-libatomic
 
 ifeq ($(BR2_ENDIAN),"BIG")