disable LTO on aarch64
This commit is contained in:
parent
e79b2e43fb
commit
90d23a8f83
@ -108,6 +108,11 @@ This package contains various clients using gpsd.
|
|||||||
sed -i 's|systemctl daemon-reload|true|' SConscript
|
sed -i 's|systemctl daemon-reload|true|' SConscript
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# LTO breaks aarch64 build
|
||||||
|
%ifarch aarch64
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
export CCFLAGS="%{optflags}"
|
export CCFLAGS="%{optflags}"
|
||||||
export LINKFLAGS="%{__global_ldflags}"
|
export LINKFLAGS="%{__global_ldflags}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user