From c8c92cebc1776d03ad5d3c7ca42c3e7ee86572d3 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Fri, 26 Jan 2024 15:30:22 -0500 Subject: [PATCH] zero-profile: lto related overrides for virtualbox --- profiles/pentoo/zero-system/profile.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) 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