Accepting request 926159 from home:Guillaume_G:branches:Application:Geo

- Re-enable LTO on aarch64

OBS-URL: https://build.opensuse.org/request/show/926159
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=150
This commit is contained in:
Martin Pluskal 2021-10-19 12:16:37 +00:00 committed by Git OBS Bridge
parent eacf4ac86a
commit aa144dd54c
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 19 08:20:38 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Re-enable LTO on aarch64
-------------------------------------------------------------------
Mon Sep 27 10:44:40 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@ -178,10 +178,6 @@ pushd %{name}-%{version}/python3/%{name}-%{version}
popd
%build
# LTO fails on aarch64 (version 3.22, May 2021)
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
# The SCons description does not handle CXXFLAGS correctly, pass C++ flags also in CFLAGS
export CFLAGS="%{optflags}"