From 82aac827c95d09beeeb8934cf85c563392db7b2ca3658bd5c77baf1b1329da29 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 4 Nov 2019 14:09:56 +0000 Subject: [PATCH] Accepting request 744743 from home:marxin:branches:graphics - Disable LTO (boo#1155449) for ARM targets. OBS-URL: https://build.opensuse.org/request/show/744743 OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=19 --- libwebp.changes | 5 +++++ libwebp.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libwebp.changes b/libwebp.changes index ba018f8..7279897 100644 --- a/libwebp.changes +++ b/libwebp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 11:48:03 UTC 2019 - Martin Liška + +- Disable LTO (boo#1155449) for ARM targets. + ------------------------------------------------------------------- Sat Aug 24 13:46:36 UTC 2019 - Jan Engelhardt diff --git a/libwebp.spec b/libwebp.spec index 8fccad2..6602c2c 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -131,6 +131,11 @@ images more efficiently. %autosetup -p1 %build + +%ifarch %arm +%define _lto_cflags %{nil} +%endif + %configure --disable-static \ --enable-libwebpmux --enable-libwebpdemux \ --enable-libwebpdecoder --enable-libwebpextras