There is an updated pull request by Johnnynator against master on the void-packages repository https://github.com/Johnnynator/void-packages LuaJIT https://github.com/void-linux/void-packages/pull/20499 [WIP] LuaJIT: allow cross compiling to 32bit systems in x86_64-musl masterdir Just a stupid workaround for musl, but I haven't tested the resulting binary yet. So don't merge except you tested it :) A patch file from https://github.com/void-linux/void-packages/pull/20499.patch is attached