commit:     ca722ddc3a680165fe024b15318e8bb915049c90
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 05:35:44 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 05:35:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca722ddc

media-libs/opencv: drop GCC 15 workaround

Fixed upstream in the latest snapshot.

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

 media-libs/opencv/opencv-4.10.0.ebuild | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/media-libs/opencv/opencv-4.10.0.ebuild 
b/media-libs/opencv/opencv-4.10.0.ebuild
index 40354686489c..4bb3003623f7 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -565,11 +565,6 @@ multilib_src_configure() {
        # bug #919101 and https://github.com/opencv/opencv/issues/19020
        filter-lto
 
-       # bug #948071 (gcc PR118464)
-       if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then
-               append-cxxflags "-fno-tree-loop-optimize"
-       fi
-
        # please don't sort here, order is the same as in CMakeLists.txt
        local mycmakeargs=(
                -DMIN_VER_CMAKE=3.26

Reply via email to