Skip to content

Commit

Permalink
zero-profile: more flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroChaos- committed Jan 4, 2024
1 parent 6684ceb commit 8c6a8fc
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions profiles/pentoo/zero-system/profile.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,20 @@ fi
if [[ ${CATEGORY}/${PN} == app-crypt/mit-krb5 ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == dev-db/mariadb-connector-c ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
fi
if [[ ${CATEGORY}/${PN} == dev-python/numpy ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == dev-util/radare2 ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == mate-base/caja ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
fi
if [[ ${CATEGORY}/${PN} == media-gfx/gimp ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
Expand All @@ -41,13 +49,29 @@ if [[ ${CATEGORY}/${PN} == media-video/mplayer ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == media-video/vlc ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == sys-apps/util-linux ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == sys-devel/binutils ]]; then
export CFLAGS="${CFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == sys-fs/jfsutils ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
fi
if [[ ${CATEGORY}/${PN} == sys-libs/volk ]]; then
# replicated on mammon but not naga
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
fi
# CXXFLAGS
if [[ ${CATEGORY}/${PN} == app-crypt/ophcrack ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == dev-db/sqlitebrowser ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
Expand All @@ -59,6 +83,10 @@ fi
if [[ ${CATEGORY}/${PN} == dev-qt/qtnetwork ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == dev-util/android-tools ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}"
fi
if [[ ${CATEGORY}/${PN} == kde-plasma/kwayland ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
Expand All @@ -72,13 +100,13 @@ fi
if [[ ${CATEGORY}/${PN} == media-libs/mesa ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == media-libs/vlc ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}"
fi
if [[ ${CATEGORY}/${PN} == media-libs/x265 ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == net-analyzer/gspoof ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=lto-type-mismatch/}"
fi
if [[ ${CATEGORY}/${PN} == net-ftp/filezilla ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
Expand Down

0 comments on commit 8c6a8fc

Please sign in to comment.