diff options
Diffstat (limited to 'media-libs/opencv/opencv-4.5.4.ebuild')
-rw-r--r-- | media-libs/opencv/opencv-4.5.4.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/opencv/opencv-4.5.4.ebuild b/media-libs/opencv/opencv-4.5.4.ebuild index d294809c1d6a..24070fe0c2e4 100644 --- a/media-libs/opencv/opencv-4.5.4.ebuild +++ b/media-libs/opencv/opencv-4.5.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8..10} ) CMAKE_ECLASS=cmake -inherit java-pkg-opt-2 java-ant-2 cmake-multilib python-r1 toolchain-funcs +inherit flag-o-matic java-pkg-opt-2 java-ant-2 cmake-multilib python-r1 toolchain-funcs DESCRIPTION="A collection of algorithms and sample code for various computer vision problems" HOMEPAGE="https://opencv.org" @@ -307,6 +307,9 @@ pkg_setup() { } src_prepare() { + # https://bugs.gentoo.org/838274 + replace-flags -O3 -O2 + cmake_src_prepare # remove bundled stuff |