diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index fbbd8ebc70..89b164c96d 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -26,8 +26,10 @@ endif # libraries are installed. ifeq ($(BR2_ARCH_IS_64),y) LUAJIT_HOST_CC = $(HOSTCC) +# There is no LUAJIT_ENABLE_GC64 option. else LUAJIT_HOST_CC = $(HOSTCC) -m32 +LUAJIT_XCFLAGS += -DLUAJIT_DISABLE_GC64 endif # We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit