From e2c280056be34e4d1eba1e4ec62e01f3ad2d3e07 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 10 Jun 2024 19:43:21 -0400 Subject: [PATCH] zero-profile: more lto --- profiles/pentoo/zero-system/profile.bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/pentoo/zero-system/profile.bashrc b/profiles/pentoo/zero-system/profile.bashrc index e3793fdd1..3709b0c24 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -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