SHA256
1
0
forked from pool/gpsd

Accepting request 898644 from home:dirkmueller:Factory

- disable lto on aarch64 for now (bsc#1187089)

OBS-URL: https://build.opensuse.org/request/show/898644
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=138
This commit is contained in:
Martin Pluskal 2021-06-09 08:31:36 +00:00 committed by Git OBS Bridge
parent 2104943713
commit 5dfd974a93
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> 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} cd %{name}-%{version}
%build %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 # The SCons description does not handle CXXFLAGS correctly, pass C++ flags also in CFLAGS
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}" export CXXFLAGS="%{optflags}"