mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
zero-profile: more lto carve outs
This commit is contained in:
parent
2c5f1db643
commit
9a871a088d
1 changed files with 11 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ fi
|
|||
if [[ ${CATEGORY}/${PN} == app-crypt/mit-krb5 ]]; then
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == app-text/texlive-core ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == dev-db/mariadb-connector-c ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
fi
|
||||
|
|
@ -54,6 +58,9 @@ fi
|
|||
if [[ ${CATEGORY}/${PN} == media-video/mplayer ]]; then
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-fs/nfs-utils ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == media-video/vlc ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
export CFLAGS="${CFLAGS/-Werror=strict-aliasing/}"
|
||||
|
|
@ -63,6 +70,7 @@ if [[ ${CATEGORY}/${PN} == sys-apps/util-linux ]]; then
|
|||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == sys-devel/binutils ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == sys-fs/jfsutils ]]; then
|
||||
|
|
@ -71,6 +79,9 @@ fi
|
|||
if [[ ${CATEGORY}/${PN} == sys-libs/volk ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == x11-libs/libdrm ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
fi
|
||||
# CXXFLAGS
|
||||
if [[ ${CATEGORY}/${PN} == app-crypt/ophcrack ]]; then
|
||||
export CXXFLAGS="${CXXFLAGS/-Werror=stringop-overread/}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue