From 0c67b0128fd8f9e08a89ed18f868dc7d17557f74 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 4 Jan 2024 11:29:02 -0500 Subject: [PATCH] zero-profile: more flags --- 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 3ff4f7e76..e6ac4e5ff 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -45,6 +45,10 @@ if [[ ${CATEGORY}/${PN} == media-gfx/gimp ]]; then # replicated on mammon but not naga export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}" fi +if [[ ${CATEGORY}/${PN} == media-video/obs-studio ]]; then + # replicated on mammon but not naga + export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" +fi if [[ ${CATEGORY}/${PN} == media-video/mplayer ]]; then # replicated on mammon but not naga export CFLAGS="${CFLAGS/-flto/}" @@ -86,6 +90,8 @@ fi if [[ ${CATEGORY}/${PN} == dev-util/android-tools ]]; then # replicated on mammon but not naga export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}" + export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" + export CXXFLAGS="${CXXFLAGS/-Werror=odr/}" fi if [[ ${CATEGORY}/${PN} == kde-plasma/kwayland ]]; then export CXXFLAGS="${CXXFLAGS/-flto/}"