mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
zero-profile: more lto exceptions
This commit is contained in:
parent
b13b054192
commit
b754d43cf9
1 changed files with 6 additions and 3 deletions
|
|
@ -58,14 +58,17 @@ 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/}"
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-fs/nfs-utils ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=stringop-overread/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == net-wireless/bladerf ]]; then
|
||||
export CFLAGS="${CFLAGS/-Werror=lto-type-mismatch/}"
|
||||
fi
|
||||
if [[ ${CATEGORY}/${PN} == sys-apps/util-linux ]]; then
|
||||
export CFLAGS="${CFLAGS/-flto/}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue