New comment by Calandracas606 on void-packages repository https://github.com/void-linux/void-packages/pull/48453#issuecomment-1948804135 Comment: upstream recommends that distributions use the "amalg" build target https://luajit.org/install.html ``` The build system has a special target for an amalgamated build, i.e. make amalg. This compiles the LuaJIT core as one huge C file and allows GCC to generate faster and shorter code. Alas, this requires lots of memory during the build. This may be a problem for some users, that's why it's not enabled by default. But it shouldn't be a problem for most build farms. It's recommended that binary distributions use this target for their LuaJIT builds. ```