Skip to content

Commit

Permalink
zero-profile: more exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroChaos- committed Dec 19, 2024
1 parent e646a40 commit bd9f0d0
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 @@ -144,6 +144,9 @@ fi
if [[ ${CATEGORY}/${PN} == dev-db/sqlitebrowser ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
if [[ ${CATEGORY}/${PN} == dev-util/bcc ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/keystone ]]; then
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
fi
Expand Down Expand Up @@ -339,6 +342,9 @@ fi
if [[ ${CATEGORY}/${PN} == dev-libs/zziplib ]]; then
export CFLAGS="${CFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == dev-python/pyzmq ]]; then
export CFLAGS="${CFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == kde-plasma/kpipewire ]]; then
export CXXFLAGS="${CXXFLAGS} -fPIC"
fi
Expand Down Expand Up @@ -686,6 +692,9 @@ fi
if [[ ${CATEGORY}/${PN} == kde-frameworks/kparts ]]; then
export CXXFLAGS="${CXXFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == net-wireless/gr-mixalot ]]; then
export CXXFLAGS="${CXXFLAGS} -fPIC"
fi
if [[ ${CATEGORY}/${PN} == dev-libs/nspr ]]; then
export CFLAGS="${CFLAGS/-fPIE -pie/}"
fi
Expand Down Expand Up @@ -907,6 +916,10 @@ if [[ ${CATEGORY}/${PN} == dev-libs/libsass ]]; then
# this builds without but breaks consumers
export CXXFLAGS="${CXXFLAGS/-fPIE -pie/}"
fi
if [[ ${CATEGORY}/${PN} == dev-util/lief ]]; then
export CXXFLAGS="${CXXFLAGS/-fPIE -pie/}"
export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}"
fi
if [[ ${CATEGORY}/${PN} == media-sound/audacious ]]; then
export CXXFLAGS="${CXXFLAGS/-fPIE -pie/}"
fi
Expand Down

0 comments on commit bd9f0d0

Please sign in to comment.