Instructions at https://github.com/voidlinux/void-packages#building-packages-natively-for-the-musl-c-library just replace "x86_64-musl" with "i686-musl".