Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/lua/luajit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endef
define Package/luajit/config
config HAS_LUAJIT_ARCH
bool
default y if i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64
default y if i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64||riscv64
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding riscv64 to the HAS_LUAJIT_ARCH configuration without including the necessary patches for RISC-V64 support will likely cause build failures. The PR description mentions backporting https://redirect.github.com/openresty/luajit2/pull/236, but no corresponding patch files are present in the patches directory. The actual RISC-V64 support patches need to be added to lang/lua/luajit/patches/ before enabling this architecture in the configuration.

Suggested change
default y if i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64||riscv64
default y if i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64

Copilot uses AI. Check for mistakes.
endef

ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH), x86_64 mips64))
Expand Down
Loading
Loading