summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-27 04:00:34 +0000
committerSam James <sam@gentoo.org>2024-03-27 04:00:34 +0000
commit270d4b60358a4177a31caa84edcb6fe1ed805bda (patch)
tree740912b340b474ea5b057f4a89da858fe79c0487 /net-wireless/bluez
parentsys-libs/binutils-libs: filter LTO (diff)
downloadgentoo-270d4b60358a4177a31caa84edcb6fe1ed805bda.tar.gz
gentoo-270d4b60358a4177a31caa84edcb6fe1ed805bda.tar.bz2
gentoo-270d4b60358a4177a31caa84edcb6fe1ed805bda.zip
net-wireless/bluez: filter LTO (test failures)
5.73 unfortunately still fails for me with LTO (specifically the 'unit/test-vcp' test). Bug: https://github.com/bluez/bluez/issues/683 Bug: https://github.com/bluez/bluez/issues/726 Closes: https://bugs.gentoo.org/925745 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-wireless/bluez')
-rw-r--r--net-wireless/bluez/bluez-5.72.ebuild5
-rw-r--r--net-wireless/bluez/bluez-5.73.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-wireless/bluez/bluez-5.72.ebuild b/net-wireless/bluez/bluez-5.72.ebuild
index abb0053bc2b5..06b68087328b 100644
--- a/net-wireless/bluez/bluez-5.72.ebuild
+++ b/net-wireless/bluez/bluez-5.72.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1
DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez"
@@ -122,6 +122,9 @@ src_prepare() {
}
multilib_src_configure() {
+ # unit/test-vcp test fails with LTO (bug #925745)
+ filter-lto
+
local myconf=(
# readline is automagic when client is enabled
# --enable-client always needs readline, bug #504038
diff --git a/net-wireless/bluez/bluez-5.73.ebuild b/net-wireless/bluez/bluez-5.73.ebuild
index f71af719302f..1bd115cef414 100644
--- a/net-wireless/bluez/bluez-5.73.ebuild
+++ b/net-wireless/bluez/bluez-5.73.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit autotools linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1
+inherit autotools flag-o-matic linux-info python-single-r1 systemd udev multilib-minimal #readme.gentoo-r1
DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
HOMEPAGE="http://www.bluez.org https://github.com/bluez/bluez"
@@ -108,6 +108,9 @@ src_prepare() {
}
multilib_src_configure() {
+ # unit/test-vcp test fails with LTO (bug #925745)
+ filter-lto
+
local myconf=(
# readline is automagic when client is enabled
# --enable-client always needs readline, bug #504038