summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-11 23:26:28 -0400
committerSam James <sam@gentoo.org>2024-03-12 03:30:50 +0000
commitf408c3737cfb897bd18877458f28c03092620b74 (patch)
treed3afb98e77010fb56cb5ad42c06ab66dad3a2877 /net-wireless
parentdev-libs/libtecla: mark as LTO-unsafe (diff)
downloadgentoo-f408c3737cfb897bd18877458f28c03092620b74.tar.gz
gentoo-f408c3737cfb897bd18877458f28c03092620b74.tar.bz2
gentoo-f408c3737cfb897bd18877458f28c03092620b74.zip
net-wireless/bladerf: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/861872 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bladerf/bladerf-2021.03-r1.ebuild7
-rw-r--r--net-wireless/bladerf/bladerf-2023.02.ebuild7
-rw-r--r--net-wireless/bladerf/bladerf-9999.ebuild7
3 files changed, 18 insertions, 3 deletions
diff --git a/net-wireless/bladerf/bladerf-2021.03-r1.ebuild b/net-wireless/bladerf/bladerf-2021.03-r1.ebuild
index 8a79fa7bc6a3..84e327b78d20 100644
--- a/net-wireless/bladerf/bladerf-2021.03-r1.ebuild
+++ b/net-wireless/bladerf/bladerf-2021.03-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake udev
+inherit cmake flag-o-matic udev
DESCRIPTION="Libraries for supporing the BladeRF hardware from Nuand"
HOMEPAGE="https://nuand.com/"
@@ -51,6 +51,11 @@ src_unpack() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861872
+ # https://github.com/Nuand/bladeRF/issues/903
+ filter-lto
+
local mycmakeargs=(
-DVERSION_INFO_OVERRIDE:STRING="${PV}"
-DBUILD_DOCUMENTATION="$(usex doc)"
diff --git a/net-wireless/bladerf/bladerf-2023.02.ebuild b/net-wireless/bladerf/bladerf-2023.02.ebuild
index 1601aecb09fe..74c85125258c 100644
--- a/net-wireless/bladerf/bladerf-2023.02.ebuild
+++ b/net-wireless/bladerf/bladerf-2023.02.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake udev
+inherit cmake flag-o-matic udev
DESCRIPTION="Libraries for supporing the BladeRF hardware from Nuand"
HOMEPAGE="https://nuand.com/"
@@ -53,6 +53,11 @@ src_unpack() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861872
+ # https://github.com/Nuand/bladeRF/issues/903
+ filter-lto
+
local mycmakeargs=(
-DVERSION_INFO_OVERRIDE:STRING="${PV}"
-DBUILD_DOCUMENTATION="$(usex doc)"
diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
index 8ad97269887b..9723f8fcbe5b 100644
--- a/net-wireless/bladerf/bladerf-9999.ebuild
+++ b/net-wireless/bladerf/bladerf-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake udev
+inherit cmake flag-o-matic udev
DESCRIPTION="Libraries for supporing the BladeRF hardware from Nuand"
HOMEPAGE="https://nuand.com/"
@@ -51,6 +51,11 @@ src_unpack() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861872
+ # https://github.com/Nuand/bladeRF/issues/903
+ filter-lto
+
local mycmakeargs=(
-DVERSION_INFO_OVERRIDE:STRING="${PV}"
-DBUILD_DOCUMENTATION="$(usex doc)"