commit:     a2494b77d21f70b6e1fef71496e23740b550116e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 16:09:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 16:09:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2494b77

net-analyzer/wireshark: add missing filter-lto for USE=-lto

Note that USE=lto is masked right now too.

Bug: https://bugs.gentoo.org/754021
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/wireshark/wireshark-3.6.13.ebuild | 2 ++
 net-analyzer/wireshark/wireshark-3.6.14.ebuild | 2 ++
 net-analyzer/wireshark/wireshark-4.0.5.ebuild  | 2 ++
 net-analyzer/wireshark/wireshark-4.0.6.ebuild  | 2 ++
 net-analyzer/wireshark/wireshark-9999.ebuild   | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/net-analyzer/wireshark/wireshark-3.6.13.ebuild 
b/net-analyzer/wireshark/wireshark-3.6.13.ebuild
index 0079012cf99c..5bcc3eef297d 100644
--- a/net-analyzer/wireshark/wireshark-3.6.13.ebuild
+++ b/net-analyzer/wireshark/wireshark-3.6.13.ebuild
@@ -136,6 +136,8 @@ src_configure() {
                append-cxxflags -fPIC -DPIC
        fi
 
+       ! use lto && filter-lto
+
        python_setup
 
        mycmakeargs+=(

diff --git a/net-analyzer/wireshark/wireshark-3.6.14.ebuild 
b/net-analyzer/wireshark/wireshark-3.6.14.ebuild
index 1aa6426c7849..883f96d5450c 100644
--- a/net-analyzer/wireshark/wireshark-3.6.14.ebuild
+++ b/net-analyzer/wireshark/wireshark-3.6.14.ebuild
@@ -136,6 +136,8 @@ src_configure() {
                append-cxxflags -fPIC -DPIC
        fi
 
+       ! use lto && filter-lto
+
        python_setup
 
        mycmakeargs+=(

diff --git a/net-analyzer/wireshark/wireshark-4.0.5.ebuild 
b/net-analyzer/wireshark/wireshark-4.0.5.ebuild
index 6039d7e9573b..cd157e078c5f 100644
--- a/net-analyzer/wireshark/wireshark-4.0.5.ebuild
+++ b/net-analyzer/wireshark/wireshark-4.0.5.ebuild
@@ -170,6 +170,8 @@ src_configure() {
                append-cxxflags -fPIC -DPIC
        fi
 
+       ! use lto && filter-lto
+
        mycmakeargs+=(
                -DPython3_EXECUTABLE="${PYTHON}"
                -DCMAKE_DISABLE_FIND_PACKAGE_{Asciidoctor,DOXYGEN}=$(usex !doc)

diff --git a/net-analyzer/wireshark/wireshark-4.0.6.ebuild 
b/net-analyzer/wireshark/wireshark-4.0.6.ebuild
index bda06a2c3b77..2a642376f5e0 100644
--- a/net-analyzer/wireshark/wireshark-4.0.6.ebuild
+++ b/net-analyzer/wireshark/wireshark-4.0.6.ebuild
@@ -170,6 +170,8 @@ src_configure() {
                append-cxxflags -fPIC -DPIC
        fi
 
+       ! use lto && filter-lto
+
        mycmakeargs+=(
                -DPython3_EXECUTABLE="${PYTHON}"
                -DCMAKE_DISABLE_FIND_PACKAGE_{Asciidoctor,DOXYGEN}=$(usex !doc)

diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild 
b/net-analyzer/wireshark/wireshark-9999.ebuild
index 88ddb144b999..e6c490a67458 100644
--- a/net-analyzer/wireshark/wireshark-9999.ebuild
+++ b/net-analyzer/wireshark/wireshark-9999.ebuild
@@ -171,6 +171,8 @@ src_configure() {
                append-cxxflags -fPIC -DPIC
        fi
 
+       ! use lto && filter-lto
+
        mycmakeargs+=(
                -DPython3_EXECUTABLE="${PYTHON}"
                -DCMAKE_DISABLE_FIND_PACKAGE_{Asciidoctor,DOXYGEN}=$(usex !doc)

Reply via email to