]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/luajit/Config.in
luajit: only available on x86(-64) hosts
[coffee/buildroot.git] / package / luajit / Config.in
index 1a27c434e1570ade166214636db71530b0638c03..6b9c6e6ae84ab392b2e6754c95b517fbbe406e8e 100644 (file)
@@ -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 || \