From c69fdc3a1b5d76bf2ba64689575e2f6e5ef99192b91a9977cc714d6efa8a23e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sun, 25 Aug 2019 13:21:01 +0000 Subject: [PATCH] Accepting request 724857 from home:jbrielmaier:ppc64le Solution as discussed in https://build.opensuse.org/request/show/724382 and https://bugzilla.suse.com/show_bug.cgi?id=1146096 OBS-URL: https://build.opensuse.org/request/show/724857 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=3 --- opencv.changes | 6 ++++++ opencv.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/opencv.changes b/opencv.changes index 712c818..efd3e00 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 19 11:13:05 UTC 2019 - Jonathan Brielmaier + +- Disable LTO on ppc64le for now, as it fails to build when enabled + (boo#1146096). + ------------------------------------------------------------------- Sat Aug 10 21:45:53 UTC 2019 - Christophe Giboudeaux diff --git a/opencv.spec b/opencv.spec index c565e92..0c10f85 100644 --- a/opencv.spec +++ b/opencv.spec @@ -15,6 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# Build failure with LTO enabled on ppc64le boo#1146096 +%ifarch ppc64le +%define _lto_cflags %{nil} +%endif # The ADE required for gapi is not yet packaged, disable it for now %bcond_with gapi