From f2800fc00625a4117c9355ceae29a422a771a2a701e8165a3238772aaad1dfbc Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 23 Apr 2020 15:16:16 +0000 Subject: [PATCH] Accepting request 796570 from home:Guillaume_G:branches:X11:XOrg - Disable LTO on armv6 to fix build OBS-URL: https://build.opensuse.org/request/show/796570 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=946 --- Mesa-drivers.changes | 5 +++++ Mesa-drivers.spec | 4 ++++ Mesa.changes | 5 +++++ Mesa.spec | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 9045204..65daf2e 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 14:23:59 UTC 2020 - Guillaume GARDET + +- Disable LTO on armv6 to fix build + ------------------------------------------------------------------- Sun Apr 5 12:27:35 UTC 2020 - Torsten Duwe diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 44b2dbb..2bdc8fb 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -32,6 +32,10 @@ # Note that if you actually need to render something, you need the packages # from Mesa-driver. +%ifarch armv6l armv6hl +%define _lto_cflags %{nil} +%endif + ##### WARNING: please do not edit this auto generated spec file. Use the Mesa.spec! ##### %define drivers 1 %define libglvnd 0 diff --git a/Mesa.changes b/Mesa.changes index 9045204..65daf2e 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 14:23:59 UTC 2020 - Guillaume GARDET + +- Disable LTO on armv6 to fix build + ------------------------------------------------------------------- Sun Apr 5 12:27:35 UTC 2020 - Torsten Duwe diff --git a/Mesa.spec b/Mesa.spec index 38b7c28..77aee17 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -32,6 +32,10 @@ # Note that if you actually need to render something, you need the packages # from Mesa-driver. +%ifarch armv6l armv6hl +%define _lto_cflags %{nil} +%endif + %define drivers 0 %define libglvnd 0