summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-03-16 23:58:09 +0200
committerMart Raudsepp <leio@gentoo.org>2024-03-17 00:06:37 +0200
commit36bae5c1a5ea87aad0072f6b5f38de561540b884 (patch)
tree34a962d647c2dd76741affbf702e8f8b3bde362d /net-misc
parentdev-libs/folks: add 0.15.7, fix tests handling (diff)
downloadgentoo-36bae5c1a5ea87aad0072f6b5f38de561540b884.tar.gz
gentoo-36bae5c1a5ea87aad0072f6b5f38de561540b884.tar.bz2
gentoo-36bae5c1a5ea87aad0072f6b5f38de561540b884.zip
net-misc/networkmanager: disable ebpf due to problems for some, filter lto for clang
Both bugs left open on purpose as ebpf would hopefully be fixed and re-enabled and LTO should be fine for clang but build system issues force us to filter it temporarily until a proper fix. Bug: https://bugs.gentoo.org/926943 Bug: https://bugs.gentoo.org/926694 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild (renamed from net-misc/networkmanager/networkmanager-1.46.0.ebuild)7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/networkmanager/networkmanager-1.46.0.ebuild b/net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild
index 06d5ab263971..1bc89e1e14e6 100644
--- a/net-misc/networkmanager/networkmanager-1.46.0.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
GNOME_ORG_MODULE="NetworkManager"
PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org linux-info meson-multilib flag-o-matic python-any-r1 readme.gentoo-r1 systemd udev vala virtualx
+inherit gnome.org linux-info meson-multilib flag-o-matic python-any-r1 readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx
DESCRIPTION="A set of co-operative tools that make networking simple and straightforward"
HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
@@ -170,6 +170,8 @@ meson_nm_native_program() {
multilib_src_configure() {
# Workaround for LLD 17 (bug #915819)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+ # Build system requires -flto-partition=none support for LTO
+ tc-is-clang && filter-lto
local emesonargs=(
--localstatedir="${EPREFIX}/var"
@@ -207,7 +209,8 @@ multilib_src_configure() {
$(meson_native_use_bool tools nmtui)
$(meson_native_use_bool tools nm_cloud_setup)
$(meson_native_use_bool bluetooth bluez5_dun)
- -Debpf=true
+ # ebpf is problematic in at least v1.46.0, bug #926943
+ -Debpf=false
-Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default)
-Dconfig_plugins_default=keyfile