mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
media-libs/opencv: work around gcc-15 bug in dnn
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -544,6 +544,10 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user