commit: 6981b4106613e758228eafcacd42d8cedf9b379c Author: Kalin KOZHUHAROV <me.kalin <AT> gmail <DOT> com> AuthorDate: Mon Jan 15 16:42:31 2024 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Mon Jan 15 18:13:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6981b410
media-libs/vidstab: -fopenmp when testing Closes: https://bugs.gentoo.org/740164 Reported-by: Kalin KOZHUHAROV <kalin <AT> thinrope.net> Signed-off-by: Kalin KOZHUHAROV <kalin <AT> thinrope.net> Bug: https://bugs.gentoo.org/836290 Closes: https://github.com/gentoo/gentoo/pull/34821 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> media-libs/vidstab/vidstab-1.1.1.ebuild | 5 +++-- media-libs/vidstab/vidstab-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/media-libs/vidstab/vidstab-1.1.1.ebuild b/media-libs/vidstab/vidstab-1.1.1.ebuild index 108371643901..75793c8fcb19 100644 --- a/media-libs/vidstab/vidstab-1.1.1.ebuild +++ b/media-libs/vidstab/vidstab-1.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ fi LICENSE="GPL-2+" SLOT="0" -IUSE="openmp cpu_flags_x86_sse2" +IUSE="openmp cpu_flags_x86_sse2 flag-o-matic" pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -54,6 +54,7 @@ multilib_src_test() { -DUSE_OMP="$(usex openmp)" -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)" ) + append-cflags $(test-flags-CC -fopenmp) local CMAKE_USE_DIR="${CMAKE_USE_DIR}/tests" local BUILD_DIR="${BUILD_DIR}/tests" cmake_src_configure diff --git a/media-libs/vidstab/vidstab-9999.ebuild b/media-libs/vidstab/vidstab-9999.ebuild index 38165c72a42b..8552e4389b80 100644 --- a/media-libs/vidstab/vidstab-9999.ebuild +++ b/media-libs/vidstab/vidstab-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ fi LICENSE="GPL-2+" SLOT="0" -IUSE="openmp cpu_flags_x86_sse2" +IUSE="openmp cpu_flags_x86_sse2 flag-o-matic" pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -54,6 +54,7 @@ multilib_src_test() { -DUSE_OMP="$(usex openmp)" -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)" ) + append-cflags $(test-flags-CC -fopenmp) local CMAKE_USE_DIR="${CMAKE_USE_DIR}/tests" local BUILD_DIR="${BUILD_DIR}/tests" cmake_src_configure