New comment by Johnnynator on void-packages repository https://github.com/void-linux/void-packages/pull/15984#issuecomment-549604012 Comment: I don't think that this is your fault. It is calling a sub project without giving it all the proper parameter probably, so it uses the host gcc instead of the cross gcc, but the cross cflags. You should try to get it to use the void packaged luajit and not the bundled one.