diff options
Diffstat (limited to 'net-wireless/kismet/kismet-2023.07.1.ebuild')
-rw-r--r-- | net-wireless/kismet/kismet-2023.07.1.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net-wireless/kismet/kismet-2023.07.1.ebuild b/net-wireless/kismet/kismet-2023.07.1.ebuild index d811631a3fe8..004920a80551 100644 --- a/net-wireless/kismet/kismet-2023.07.1.ebuild +++ b/net-wireless/kismet/kismet-2023.07.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) -inherit autotools python-single-r1 udev systemd +inherit autotools flag-o-matic python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -114,6 +114,14 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/877761 + # https://github.com/kismetwireless/kismet/issues/518 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + econf \ $(use_enable libusb libusb) \ $(use_enable libusb wifi-coconut) \ |