New comment by q66 on void-packages repository https://github.com/void-linux/void-packages/pull/26895#issuecomment-762225589 Comment: hm, what i would do is instead of declaring like a variable `NO_ALTIVEC` or whatever, I would do like: ``` local extra_cflags="-fno-stack-protector" case "$XBPS_TARGET_MACHINE" in ppc*) extra_cflags+=" -mno-altivec";; esac .... export CFLAGS+=" ${extra_cflags}" ... configure main platform here .... ... for supplementary platforms: CFLAGS="${extra_cflags}" configure ... ``` which is the same logic as now but imo cleaner