New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/issues/10244#issuecomment-541033697 Comment: I don't think there is a good way to know which `CC` is going to be used, configure and make can do all sorts of things to use a different `CC` than what `xbps-src` exports. `xbps-src` assumes gcc is the default compiler. I don't see a problem with templates that use a non default option having to work around the default `CFLAGS` compared to adding a probably more broken and unpredictable workaround to `xbps-src`.