diff --git a/opencv.spec b/opencv.spec index 3e1f989..e2090f5 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,5 +1,6 @@ #global indice a %undefine _strict_symbol_defs_build +%undefine __cmake_in_source_build %bcond_without tests %bcond_with ffmpeg %bcond_without gstreamer @@ -43,6 +44,10 @@ %bcond_without java %bcond_without vulkan +%ifarch ppc64le +%define _lto_cflags %{nil} +%endif + %global srcname opencv %global abiver 4.3 @@ -478,6 +483,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %changelog * Fri Jul 24 2020 Nicolas Chauvet - 4.3.0-8 - Rebuilt +- Fix cmake build +- Disable LTO on ppc64le +- Add undefine __cmake_in_source_build to allow build on Fedora < 33 * Sat Jul 11 2020 Jiri Vanek - 4.3.0-7 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11