diff --git a/profiles/pentoo/zero-system/profile.bashrc b/profiles/pentoo/zero-system/profile.bashrc index 170dfa002..a02be2d9f 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -72,6 +72,12 @@ fi if [[ ${CATEGORY}/${PN} == app-crypt/ophcrack ]]; then export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" fi +if [[ ${CATEGORY}/${PN} == app-emulation/virtualbox ]]; then + export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" + export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" + #export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}" + export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}" +fi if [[ ${CATEGORY}/${PN} == dev-db/sqlitebrowser ]]; then export CXXFLAGS="${CXXFLAGS/-Werror=odr/}" fi