forked from pool/glibc
Accepting request 84531 from Base:build:arm
- fix ports build - add armv8l architecture - don't enforce armv5tel for all arm architectures anymore OBS-URL: https://build.opensuse.org/request/show/84531 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=107
This commit is contained in:
parent
b95761bac7
commit
71a49f5879
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 21:07:43 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
- fix ports build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 13:10:02 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
- add armv8l architecture
|
||||||
|
- don't enforce armv5tel for all arm architectures anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 19 08:09:40 UTC 2011 - opensuse@cboltz.de
|
Mon Sep 19 08:09:40 UTC 2011 - opensuse@cboltz.de
|
||||||
|
|
||||||
|
14
glibc.spec
14
glibc.spec
@ -365,10 +365,8 @@ versions of your software.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%ifarch %arm armv5tel armv7l
|
%ifarch %arm armv5tel armv7l armv8l
|
||||||
# add glibc-ports for arm
|
# add glibc-ports for arm
|
||||||
# this is CURRENTLY BROKEN (as of 2009-11-13); ARM-interested
|
|
||||||
# contributors need to provide new tested glibc-ports source
|
|
||||||
%setup -n glibc-%{version} -q -a 2 -a 3 -a 4
|
%setup -n glibc-%{version} -q -a 2 -a 3 -a 4
|
||||||
%else
|
%else
|
||||||
# any other leave out ports
|
# any other leave out ports
|
||||||
@ -534,9 +532,9 @@ PARALLEL="%{?_smp_mflags}"
|
|||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
add_ons=$add_ons,noversion
|
add_ons=$add_ons,noversion
|
||||||
%endif
|
%endif
|
||||||
%ifarch %arm armv5tel armv7l
|
%ifarch %arm armv5tel armv7l armv8l
|
||||||
add_ons=$add_ons,ports
|
add_ons=$add_ons,glibc-ports-%{version}
|
||||||
BuildFlags="-march=armv5te -O2 -Wall"
|
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
|
||||||
# fails to build otherwise - need to recheck and fix
|
# fails to build otherwise - need to recheck and fix
|
||||||
%define enable_stackguard_randomization 0
|
%define enable_stackguard_randomization 0
|
||||||
%endif
|
%endif
|
||||||
@ -555,7 +553,7 @@ configure_and_build_glibc() {
|
|||||||
%if %{enable_stackguard_randomization}
|
%if %{enable_stackguard_randomization}
|
||||||
--enable-stackguard-randomization \
|
--enable-stackguard-randomization \
|
||||||
%endif
|
%endif
|
||||||
%ifarch %arm armv5tel armv7l
|
%ifarch %arm armv5tel armv7l armv8l
|
||||||
--build=%{_target_cpu}-suse-linux-gnueabi \
|
--build=%{_target_cpu}-suse-linux-gnueabi \
|
||||||
%else
|
%else
|
||||||
--build=%{_target_cpu}-suse-linux \
|
--build=%{_target_cpu}-suse-linux \
|
||||||
@ -925,7 +923,7 @@ exit 0
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
/%{_lib}/ld-linux-x86-64.so.2
|
/%{_lib}/ld-linux-x86-64.so.2
|
||||||
%else
|
%else
|
||||||
%ifarch %arm armv5tel armv7l
|
%ifarch %arm armv5tel armv7l armv8l
|
||||||
/%{_lib}/ld-linux.so.3
|
/%{_lib}/ld-linux.so.3
|
||||||
%else
|
%else
|
||||||
/%{_lib}/ld-linux.so.2
|
/%{_lib}/ld-linux.so.2
|
||||||
|
Loading…
Reference in New Issue
Block a user