New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/24038#issuecomment-668726545 Comment: You are overwriting the compiler flags, which includes a define for `DATADIR`. If you want to fix this, commenting out this line https://github.com/nullgemm/ly/blob/master/makefile#L3 from the makefile and adding `export FLAGS="$CFLAGS"` to `pre_build` should be enough.