diff --git a/rpm.changes b/rpm.changes index 2f8a365..2a793b0 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 22 15:23:10 UTC 2011 - adrian@suse.de + +- use gnueabi for arm builds + ------------------------------------------------------------------- Tue Sep 6 11:16:29 UTC 2011 - vuntz@opensuse.org diff --git a/rpm.spec b/rpm.spec index 3bd4b13..fef4b36 100644 --- a/rpm.spec +++ b/rpm.spec @@ -206,7 +206,13 @@ make %{?_smp_mflags} popd ./autogen.sh --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ --libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \ ---with-selinux --with-internal-beecrypt --with-acl --with-cap --enable-shared %{?with_python: --enable-python} +--with-selinux --with-internal-beecrypt --with-acl --with-cap --enable-shared %{?with_python: --enable-python} \ +%ifarch %arm armv5l armv7l +--host="%{_host_cpu}-suse-linux-gnueabi" # configure.ac detects this to set %_gnu in macros +%else +--host="%{_host_cpu}-suse-linux" +%endif + rm po/de.gmo make %{?_smp_mflags} make convertdb1