mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
lua: add option 32bits
[Peter: tweak config/help text] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
eb8441b861
commit
984bd5a94d
@@ -58,6 +58,14 @@ ifneq ($(BR2_LARGEFILE),y)
|
||||
LUA_CFLAGS += -D_FILE_OFFSET_BITS=32
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_32BITS),y)
|
||||
define LUA_32BITS_LUACONF
|
||||
$(SED) 's/\/\* #define LUA_32BITS \*\//#define LUA_32BITS/' $(@D)/src/luaconf.h
|
||||
endef
|
||||
|
||||
LUA_POST_PATCH_HOOKS += LUA_32BITS_LUACONF
|
||||
endif
|
||||
|
||||
# We never want to have host-readline and host-ncurses as dependencies
|
||||
# of host-lua.
|
||||
HOST_LUA_DEPENDENCIES =
|
||||
|
||||
Reference in New Issue
Block a user