New comment by Johnnynator on void-packages repository https://github.com/void-linux/void-packages/pull/33137#issuecomment-927357982 Comment: You can add this patch http://0x0.st/-YOD.patch to `srcpkgs/OpenJK/patchhes/fix-cross.patch` and add `pkg-config` to `hostmakedepends` should fix the cross compiling issues.