Accepting request 85506 from Base:build:arm
- fix architecture definition for armv5el - use -O0 for soft FPU ARM OBS-URL: https://build.opensuse.org/request/show/85506 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=150
This commit is contained in:
parent
982cb6b973
commit
015f07123c
10
rpm.changes
10
rpm.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 18:49:33 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
- fix architecture definition for armv5el
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 15:16:11 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
- use -O0 for soft FPU ARM
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 27 13:34:41 UTC 2011 - adrian@suse.de
|
Tue Sep 27 13:34:41 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
25
rpm.spec
25
rpm.spec
@ -195,24 +195,29 @@ rm -f m4/lt*.m4
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -ffunction-sections"
|
export CFLAGS="$RPM_OPT_FLAGS -ffunction-sections"
|
||||||
export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections"
|
export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections"
|
||||||
%ifarch alpha
|
%ifarch alpha armv5el
|
||||||
export CFLAGS="-g -O0 -fno-strict-aliasing"
|
export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{_target_cpu}
|
||||||
|
%ifarch %arm
|
||||||
|
BUILDTARGET="--build=%{_target_cpu}-suse-linux-gnueabi"
|
||||||
|
%else
|
||||||
|
BUILDTARGET="--build=%{_target_cpu}-suse-linux"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
#cp -p /usr/share/gettext/config.rpath .
|
#cp -p /usr/share/gettext/config.rpath .
|
||||||
cp autogen.sh beecrypt
|
cp autogen.sh beecrypt
|
||||||
pushd beecrypt
|
pushd beecrypt
|
||||||
./autogen.sh --with-pic --without-python
|
./autogen.sh --with-pic --without-python $BUILDTARGET
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
%ifarch %arm armv5l armv7l armv7hl
|
|
||||||
HOST="%{_host_cpu}-suse-linux-gnueabi" # configure.ac detects this to set %_gnu in macros
|
|
||||||
%else
|
|
||||||
HOST="%{_host_cpu}-suse-linux"
|
|
||||||
%endif
|
|
||||||
./autogen.sh --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
./autogen.sh --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
--libdir=%{_libdir} --sysconfdir=/etc --localstatedir=/var --with-lua \
|
--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 \
|
||||||
--host="$HOST" --build="$HOST" --target="$HOST"
|
--with-acl --with-cap --enable-shared %{?with_python: --enable-python} $BUILDTARGET
|
||||||
|
|
||||||
rm po/de.gmo
|
rm po/de.gmo
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user