zero-profile: more lto

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-06-10 19:43:21 -04:00
parent 09527482ab
commit e2c280056b
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -213,6 +213,9 @@ fi
if [[ ${CATEGORY}/${PN} == sys-apps/smartmontools ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == sys-devel/clang ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == sys-devel/llvm ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi