From b8e7aa013749a49b2fc30721930217d5b2de502a Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 28 Mar 2024 10:50:09 -0400 Subject: [PATCH] zero-profile: more lto exceptions --- profiles/pentoo/zero-system/profile.bashrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/profiles/pentoo/zero-system/profile.bashrc b/profiles/pentoo/zero-system/profile.bashrc index 3267fb97b..291b6459e 100644 --- a/profiles/pentoo/zero-system/profile.bashrc +++ b/profiles/pentoo/zero-system/profile.bashrc @@ -43,6 +43,9 @@ fi if [[ ${CATEGORY}/${PN} == dev-libs/libtasn1 ]]; then export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" fi +if [[ ${CATEGORY}/${PN} == dev-libs/libtecla ]]; then + export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" +fi if [[ ${CATEGORY}/${PN} == dev-python/numpy ]]; then export CFLAGS="${CFLAGS/-flto/}" fi @@ -61,6 +64,9 @@ fi if [[ ${CATEGORY}/${PN} == media-libs/fdk-aac ]]; then export CFLAGS="${CFLAGS/-Werror=odr/}" fi +if [[ ${CATEGORY}/${PN} == media-libs/jbig2dec ]]; then + export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" +fi if [[ ${CATEGORY}/${PN} == media-video/obs-studio ]]; then export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" fi @@ -78,6 +84,9 @@ fi if [[ ${CATEGORY}/${PN} == net-analyzer/yersinia ]]; then export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" fi +if [[ ${CATEGORY}/${PN} == net-fs/curlftpfs ]]; then + export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" +fi if [[ ${CATEGORY}/${PN} == net-fs/nfs-utils ]]; then export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" fi @@ -87,6 +96,9 @@ fi if [[ ${CATEGORY}/${PN} == net-misc/remmina ]]; then export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" fi +if [[ ${CATEGORY}/${PN} == net-misc/vde ]]; then + export CFLAGS="${CFLAGS/-Werror=stringop-overread/}" +fi if [[ ${CATEGORY}/${PN} == net-wireless/bluez ]]; then # Tests fail with -flto export CFLAGS="${CFLAGS/-flto/}" @@ -106,6 +118,9 @@ if [[ ${CATEGORY}/${PN} == sys-cluster/openmpi ]]; then export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" export FCFLAGS="${FCFLAGS/-Werror=lto-type-mismatch/}" fi +if [[ ${CATEGORY}/${PN} == sys-fs/f2fs-tools ]]; then + export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" +fi if [[ ${CATEGORY}/${PN} == sys-fs/jfsutils ]]; then export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}" fi @@ -141,6 +156,12 @@ if [[ ${CATEGORY}/${PN} == dev-util/android-tools ]]; then export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" export CXXFLAGS="${CXXFLAGS/-Werror=odr/}" fi +if [[ ${CATEGORY}/${PN} == dev-util/colm ]]; then + export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" +fi +if [[ ${CATEGORY}/${PN} == dev-util/gengetopt ]]; then + export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" +fi if [[ ${CATEGORY}/${PN} == dev-util/libabigail ]]; then export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}" fi