Skip to content

Commit

Permalink
zero-profile: even more flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroChaos- committed Jan 4, 2024
1 parent 0c67b01 commit 51128b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions profiles/pentoo/zero-system/profile.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,22 @@ if [[ ${CATEGORY}/${PN} == dev-util/android-tools ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
if [[ ${CATEGORY}/${PN} == kde-apps/gwenview ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
if [[ ${CATEGORY}/${PN} == kde-frameworks/khtml ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
if [[ ${CATEGORY}/${PN} == kde-plasma/kwayland ]]; then
export CXXFLAGS="${CXXFLAGS/-flto/}"
fi
if [[ ${CATEGORY}/${PN} == kde-plasma/plasma-desktop ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
fi
if [[ ${CATEGORY}/${PN} == kde-plasma/plasma-vault ]]; then
# replicated on mammon but not naga
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
Expand Down

0 comments on commit 51128b6

Please sign in to comment.