commit:     a145ac6e3a83c1636a36a306acd5b13aa654f0c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 07:59:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 08:00:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a145ac6e

media-libs/opencv: drop gcc 15 bug workaround

Now fixed for a few weeks.

Bug: https://gcc.gnu.org/PR116352
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/media-libs/opencv/opencv-4.10.0.ebuild 
b/media-libs/opencv/opencv-4.10.0.ebuild
index 83956ab44a8b..8db8ddc087ef 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -565,10 +565,6 @@ multilib_src_configure() {
        # bug #919101 and https://github.com/opencv/opencv/issues/19020
        filter-lto
 
-       if tc-is-gcc && [[ $(gcc-major-version) -ge 15 ]] && use contribdnn; 
then
-               append-cxxflags "-fno-tree-vectorize"
-       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