Disable LTO on ppc64le, add undefine __cmake_in_source_build to allow build on Fedora < 33

epel9
Sérgio M. Basto 4 years ago
parent 5f489979f2
commit d8ec2071a8

@ -1,5 +1,6 @@
#global indice a #global indice a
%undefine _strict_symbol_defs_build %undefine _strict_symbol_defs_build
%undefine __cmake_in_source_build
%bcond_without tests %bcond_without tests
%bcond_with ffmpeg %bcond_with ffmpeg
%bcond_without gstreamer %bcond_without gstreamer
@ -43,6 +44,10 @@
%bcond_without java %bcond_without java
%bcond_without vulkan %bcond_without vulkan
%ifarch ppc64le
%define _lto_cflags %{nil}
%endif
%global srcname opencv %global srcname opencv
%global abiver 4.3 %global abiver 4.3
@ -478,6 +483,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%changelog %changelog
* Fri Jul 24 2020 Nicolas Chauvet <kwizart@gmail.com> - 4.3.0-8 * Fri Jul 24 2020 Nicolas Chauvet <kwizart@gmail.com> - 4.3.0-8
- Rebuilt - 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 <jvanek@redhat.com> - 4.3.0-7 * Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 4.3.0-7
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11

Loading…
Cancel
Save