profile: relax error check for mingw

This commit is contained in:
Rick Farina (Zero_Chaos) 2026-02-25 11:53:58 -05:00
parent 75b0e0fa46
commit f9ab108f0f
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -36,6 +36,11 @@ fi
if [[ ${CATEGORY}/${PN} == dev-python/numpy ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == dev-util/mingw64-toolchain ]]; then
# zero uses extra warnings to find bugs
export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == media-video/mplayer ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi