From 3eca45aa87d1be4e3043a1434ede951ebb7b3c5f76195f4361df2610c52a9873 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 23 Sep 2011 09:03:13 +0000 Subject: [PATCH] Accepting request 84518 from Base:build:arm use correct %_gnu macro on arm architectures OBS-URL: https://build.opensuse.org/request/show/84518 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=146 --- rpm.changes | 5 +++++ rpm.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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