mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
zero-profile: more flags
This commit is contained in:
parent
8dff66a6ba
commit
0c67b0128f
1 changed files with 6 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ if [[ ${CATEGORY}/${PN} == media-gfx/gimp ]]; then
|
|||
# replicated on mammon but not naga
|
||||
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == media-video/obs-studio ]]; then
|
||||
# replicated on mammon but not naga
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == media-video/mplayer ]]; then
|
||||
# replicated on mammon but not naga
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
|
|
@ -86,6 +90,8 @@ fi
|
|||
if [[ ${CATEGORY}/${PN} == dev-util/android-tools ]]; then
|
||||
# replicated on mammon but not naga
|
||||
export CXXFLAGS="${CXXFLAGS/-Werror=strict-aliasing/}"
|
||||
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
|
||||
export CXXFLAGS="${CXXFLAGS/-Werror=odr/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == kde-plasma/kwayland ]]; then
|
||||
export CXXFLAGS="${CXXFLAGS/-flto/}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue