Add %{arm} to the list of arches to use -g1 debuginfo level, in addition
to s390 and aarch64.
This should hopefully make building libreoffice on arm a bit less
painful and make it build quicker.
@ -50,7 +50,7 @@ Summary: Free Software Productivity Suite
Name: libreoffice
Name: libreoffice
Epoch: 1
Epoch: 1
Version: %{libo_version}.2
Version: %{libo_version}.2
Release: 1%{?libo_prerelease}%{?dist}
Release: 2%{?libo_prerelease}%{?dist}
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and MPLv2.0 and CC0
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and MPLv2.0 and CC0
URL: http://www.libreoffice.org/
URL: http://www.libreoffice.org/
@ -1043,7 +1043,7 @@ for i in $RPM_OPT_FLAGS; do
esac
esac
ARCH_FLAGS="$ARCH_FLAGS $i"
ARCH_FLAGS="$ARCH_FLAGS $i"
done
done
%ifarch s390 aarch64
%ifarch s390 %{arm} aarch64
# these builders typically do not have enough memory to link the big libs with -g2
# these builders typically do not have enough memory to link the big libs with -g2