summaryrefslogtreecommitdiffstats
path: root/package/moarvm/Config.in
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-11-23 14:39:12 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-25 22:52:55 +0100
commit507025a933c2b1624a4e9929e3a1fed9dfc4ff44 (patch)
tree73db57081f603b5a2b3b7d74587ea617c9129a21 /package/moarvm/Config.in
parenta8981b3785d6719bc8a2869a5931ab3abd48a2b4 (diff)
downloadbuildroot-507025a933c2b1624a4e9929e3a1fed9dfc4ff44.tar.gz
buildroot-507025a933c2b1624a4e9929e3a1fed9dfc4ff44.zip
moarvm: select libffi when building for MIPS
Otherwise the compilation will fail like this: ./libmoar.so: undefined reference to `dcCallbackThunkEntry' See: https://github.com/MoarVM/MoarVM/issues/222 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/moarvm/Config.in')
-rw-r--r--package/moarvm/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
index 3e0a1045ec..76343d1199 100644
--- a/package/moarvm/Config.in
+++ b/package/moarvm/Config.in
@@ -9,6 +9,9 @@ config BR2_PACKAGE_MOARVM
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LIBTOMMATH
select BR2_PACKAGE_LIBATOMIC_OPS
+ # dyncall does not work on MIPS; libffi needs to be used.
+ # See: https://github.com/MoarVM/MoarVM/issues/222
+ select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
help
Short for "Metamodel On A Runtime", MoarVM is a virtual machine
built especially for Rakudo Perl 6 and the NQP Compiler Toolchain.
OpenPOWER on IntegriCloud