New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/29732#issuecomment-815101793 Comment: Have you tried not adding to `XBPS_CFLAGS` and/or setting `XBPS_TARGET_{C,CXX}FLAGS`?