]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
luajit: only available on x86(-64) hosts
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 2 Nov 2017 10:45:19 +0000 (11:45 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Nov 2017 20:20:17 +0000 (21:20 +0100)
commitdf0447944c911eac68b4eafa4082a0866fdb1047
tree4e118e2d35cf97115abdfaf57631851cad9808d9
parente533807bab9530bfd342363a617638662d59fc99
luajit: only available on x86(-64) hosts

The -m32 compiler flag is used for 32bit builds and host-luajit has
limited architecture support. Building for a 32-bit target on a 32-bit
host should always work, but we haven't tested that and it's very
unlikely that someone needs it. So just limit to x86(-64) hosts.

Fixes:
http://autobuild.buildroot.net/results/5f5b5edb058efe976c003678e21bcc28a87cc828/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Arnout: clarify that it might work on 32-bit hosts for a 32-bit target]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 9b9347ee9f8e531dd177b437e8ea5387e29fc35e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/luajit/Config.in