From: Pavel Kopyl
Date: Sun, 12 Mar 2017 18:59:01 +0000 (+0000)
Subject: packaging: Enable memcpy in sysdeps/arm/memcpy.S for ARM
X-Git-Tag: accepted/tizen/base/toolchain/20240405.044606~71
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=548014215e429e95d1d5003066e6f6853688314c;p=platform%2Fupstream%2Fglibc.git
packaging: Enable memcpy in sysdeps/arm/memcpy.S for ARM
Enable memcpy in sysdeps/arm/memcpy.S for ARM
instead of memcpy in sysdeps/arm/armv7/multiarch/
Turn on --disable-multi-arch option for configure except %{ix86} x86_64 arch.
(port from tizen_3.0_base:3a309608ceb25843584b0a2c9075c16a1b892e86)
Change-Id: Ia22d4cd3821fea2a7ea0ef2179fc0b4f6e6ef3e9
Signed-off-by: Pavel Kopyl
---
diff --git a/packaging/glibc.spec b/packaging/glibc.spec
index 4611b08..93afa39 100644
--- a/packaging/glibc.spec
+++ b/packaging/glibc.spec
@@ -49,7 +49,7 @@ BuildRequires: libstdc++-devel
%define disable_assert 0
%define enable_stackguard_randomization 1
-
+%define multiarcharches %{ix86} x86_64
%ifarch x86_64
%define enablekernel 2.6.16
@@ -277,8 +277,10 @@ configure_and_build_glibc() {
--enable-stackguard-randomization \
%endif
--build=%{target} --host=%{target} \
+%ifnarch %{multiarcharches}
+ --disable-multi-arch \
+%endif
%ifarch %{ix86} x86_64
- --enable-multi-arch \
--disable-mathvec \
%endif
--enable-kernel=%{enablekernel} \