zero-system: so many lto exceptions

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-01-04 12:43:56 -05:00
parent 51128b6369
commit d1acdb4aa8
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -56,6 +56,8 @@ fi
if [[ ${CATEGORY}/${PN} == media-video/vlc ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
fi
if [[ ${CATEGORY}/${PN} == sys-apps/util-linux ]]; then
export CFLAGS="${CFLAGS/-flto/}"