summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/luajit/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/luajit/Config.in b/package/luajit/Config.in
index 1a27c434e1..6b9c6e6ae8 100644
--- a/package/luajit/Config.in
+++ b/package/luajit/Config.in
@@ -1,5 +1,8 @@
config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
bool
+ # -m32 flag is used for 32bit builds and host-luajit has
+ # limited architecture support
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
default y if BR2_i386 || \
(BR2_x86_64 && BR2_HOSTARCH='x86_64') || \
BR2_powerpc || BR2_arm || BR2_armeb || \
OpenPOWER on IntegriCloud