New comment by FollieHiyuki on void-packages repository https://github.com/void-linux/void-packages/issues/29068#issuecomment-786773777 Comment: I don't think you should overwrite `XBPS_CFLAGS` and `XBPS_CXXFLAGS` like that. I can build `bash` just fine on x86_64-musl with the default ones.