SHA256
3
0
forked from pool/glibc

- avoid build failure on %%arm

- just use %arm for right arm architectures

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=114
This commit is contained in:
Dirk Mueller 2011-09-30 15:15:00 +00:00 committed by Git OBS Bridge
parent 8da4ab6251
commit 78afe2b062
3 changed files with 31 additions and 3 deletions

View File

@ -0,0 +1,13 @@
--- x86.S
+++ x86.S
@@ -196,8 +196,8 @@
hlt
jmp BF_die
-#endif
-
#if defined(__ELF__) && defined(__linux__)
.section .note.GNU-stack,"",@progbits
#endif
+
+#endif

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Sep 30 17:14:04 CEST 2011 - dmueller@suse.de
- avoid build failure on %%arm
-------------------------------------------------------------------
Thu Sep 29 07:40:25 UTC 2011 - adrian@suse.de
- just use %arm for right arm architectures
-------------------------------------------------------------------
Tue Sep 27 11:24:02 UTC 2011 - aj@suse.de

View File

@ -210,6 +210,8 @@ Patch74: glibc-2.14-fix-ctors.patch
Patch80: crypt_blowfish-1.2-sha.diff
# PATCH-FEATURE-OPENSUSE -- use separate symbol version for Owl extensions - lnussel@suse.de
Patch81: crypt_blowfish-1.2-versioning.diff
# PATCH-FIX-OPENSUSE Avoid build failure on noexecstack marker on ARM dmueller@suse.de
Patch82: crypt_blowfish-1.2-hack_around_arm.diff
%description
The GNU C Library provides the most important standard libraries used
@ -366,7 +368,7 @@ versions of your software.
%endif
%prep
%ifarch %arm armv5tel armv7l armv8l
%ifarch %arm
# add glibc-ports for arm
%setup -n glibc-%{version} -q -a 2 -a 3 -a 4
%else
@ -378,6 +380,9 @@ tar -xzf %SOURCE50
pushd crypt_blowfish-%{crypt_bf_version}
%patch80 -p1
%patch81 -p1
%ifarch %arm
%patch82
%endif
popd
mv crypt/{crypt.h,gnu-crypt.h}
mv crypt_blowfish-%crypt_bf_version/*.[chS] crypt/
@ -534,7 +539,7 @@ PARALLEL="%{?_smp_mflags}"
%ifarch %ix86
add_ons=$add_ons,noversion
%endif
%ifarch %arm armv5tel armv7l armv8l
%ifarch %arm
add_ons=$add_ons,glibc-ports-%{version}
# fails to build otherwise - need to recheck and fix
%define enable_stackguard_randomization 0
@ -554,7 +559,7 @@ configure_and_build_glibc() {
%if %{enable_stackguard_randomization}
--enable-stackguard-randomization \
%endif
%ifarch %arm armv5tel armv7l armv8l
%ifarch %arm
--build=%{_target_cpu}-suse-linux-gnueabi \
%else
--build=%{_target_cpu}-suse-linux \