Accepting request 898665 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/898665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpsd?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2021-06-12 18:05:28 +00:00 committed by Git OBS Bridge
commit 8634eca418
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 2 09:35:59 UTC 2021 - Dirk Müller <dmueller@suse.com>
- disable lto on aarch64 for now (bsc#1187089)
-------------------------------------------------------------------
Sat Jan 9 10:41:08 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>

View File

@ -169,6 +169,11 @@ tar -xf %{SOURCE0} -C %{name}-%{version}/python3
cd %{name}-%{version}
%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}"
export CXXFLAGS="%{optflags}"