zero-profile: remove lto from a few broken packages

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-02-22 17:05:43 -05:00
parent 0276aa5b78
commit 00eb005931
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -3,7 +3,8 @@ if [[ $CATEGORY/$PN == net-wireless/trunk-recorder ]]; then export CXXFLAGS=${CX
if [[ $CATEGORY == net-wireless ]]; then
# https://bugs.gentoo.org/877761
# https://bugs.gentoo.org/860873
if [[ $PN != kismet ]]; then
# https://bugs.gentoo.org/861872
if [[ $PN != kismet ]] && [[ $PN != bladerf ]] && [[ $PN != gnuradio ]] && [[ $PN != trunk-recorder ]] && [[ $PN != osmo-fl2k ]]; then
export CFLAGS="${CFLAGS} -Werror=strict-aliasing -flto"
export CXXFLAGS="${CXXFLAGS} -Werror=strict-aliasing -flto"
fi