summaryrefslogtreecommitdiffstats
path: root/package/luarocks
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-10-21 22:54:57 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-03-31 21:01:03 +0200
commit0bd23f0603954c6a1d3d6c6e6d25bd2511fd472b (patch)
treecd382bf534916443c97c6c2fd47c4d1bf45c1d47 /package/luarocks
parent8a612c9ed9d7fde40a4e5bfe851e9a8ee7228bf2 (diff)
downloadbuildroot-0bd23f0603954c6a1d3d6c6e6d25bd2511fd472b.tar.gz
buildroot-0bd23f0603954c6a1d3d6c6e6d25bd2511fd472b.zip
lua: always use host-lua for host-luainterpreter
Similar to how we do for openssl. host-luainterpreter is only used by the luarocks infrastructure, and there is afaik no specific reason why the host lua variant must match the target one. Luajit only supports a limited number of architectures, so building it for the host limits the architectures Buildroot can be used on (E.G. powerpc64 autobuilders). To fix this, always use host-lua. Slightly rework lua.mk to ensure host-lua-5.1 is used when luajit is selected, and drop the logic for using host-luajit. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/luarocks')
-rw-r--r--package/luarocks/luarocks.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/luarocks/luarocks.mk b/package/luarocks/luarocks.mk
index 389d521832..63d908a416 100644
--- a/package/luarocks/luarocks.mk
+++ b/package/luarocks/luarocks.mk
@@ -23,10 +23,6 @@ HOST_LUAROCKS_CONF_OPTS = \
--sysconfdir=$(LUAROCKS_CONFIG_DIR) \
--with-lua=$(HOST_DIR)
-ifeq ($(BR2_PACKAGE_LUAJIT),y)
-HOST_LUAROCKS_CONF_OPTS += --lua-suffix=jit
-endif
-
define HOST_LUAROCKS_CONFIGURE_CMDS
cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS)
endef
OpenPOWER on IntegriCloud