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
This commit is contained in:
Marcus Meissner 2011-09-23 09:03:13 +00:00 committed by Git OBS Bridge
parent b82d67fec9
commit 3eca45aa87
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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