mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
zero-profile: minor cleanup
This commit is contained in:
parent
b9263740cc
commit
add29da581
1 changed files with 16 additions and 2 deletions
|
|
@ -6,17 +6,31 @@
|
|||
# export CXXFLAGS="${CXXFLAGS} -Werror=strict-aliasing -flto"
|
||||
# fi
|
||||
|
||||
# Packages that need stringop-overread disabled
|
||||
if [[ ${CATEGORY}/${PN} == media-video/ffmpeg ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == app-crypt/p11-kit ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
fi
|
||||
|
||||
# Packages that need shuffle disabled
|
||||
if [[ ${CATEGORY}/${PN} == www-client/chromium ]]; then
|
||||
export MAKEOPTS="${MAKEOPTS} --shuffle=none"
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
export CXXFLAGS="${CXXFLAGS/-flto/}"
|
||||
fi
|
||||
|
||||
QA_CMP_ARGS='--quiet-nodebug'
|
||||
if [[ $CATEGORY/$PN == app-crypt/hashcat ]]; then
|
||||
# Special case to run tests for hashcat
|
||||
if [[ ${CATEGORY}/${PN} == app-crypt/hashcat ]]; then
|
||||
export ALLOW_TEST=all
|
||||
fi
|
||||
|
||||
# These packages need lto disabled
|
||||
#if [[ ${CATEGORY}/${PN} == app-containers/podman ]]; then
|
||||
# https://bugs.gentoo.org/919314
|
||||
# export CFLAGS="${CFLAGS/-flto -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstringop-overread -Werror=stringop-overread/}"
|
||||
# export CXXFLAGS="${CXXFLAGS/-flto -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstringop-overread -Werror=stringop-overread/}"
|
||||
#fi
|
||||
|
||||
QA_CMP_ARGS='--quiet-nodebug'
|
||||
|
|
|
|||
Loading…
Reference in a new issue