Signed-off-by: Kedar Sovani <kedars(a)marvell.com>
---
glibc.spec | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/glibc.spec b/glibc.spec
index 72ccc5f..9af5047 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -25,7 +25,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: 2.9.90
-Release: 19
+Release: 19.fa1
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -307,8 +307,10 @@ GCC="gcc -m64"
GXX="g++ -m64"
%endif
+%ifnarch %{arm}
#BuildFlags="$BuildFlags -DNDEBUG=1 -fasynchronous-unwind-tables"
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
+%endif
EnableKernel="--enable-kernel=%{enablekernel}"
echo "$GCC" > Gcc
AddOns=`echo */configure | sed -e
's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\|powerpc-cpu\)\( \|$\)!!g;s! \+$!!;s!
!,!g;s!^!,!;/^,\*$/d'`
@@ -329,8 +331,14 @@ build_CFLAGS="$BuildFlags -g -O3 $*"
CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure
--prefix=%{_prefix} \
--enable-add-ons=nptl$AddOns --without-cvs $EnableKernel \
--with-headers=%{_prefix}/include --enable-bind-now \
- --with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \
+ --with-tls --with-__thread \
+%ifnarch %{arm}
+ --build %{nptl_target_cpu}-redhat-linux \
--host %{nptl_target_cpu}-redhat-linux \
+%else
+ --build %{nptl_target_cpu}-redhat-linux-gnueabi \
+ --host %{nptl_target_cpu}-redhat-linux-gnueabi \
+%endif
--disable-profile --enable-experimental-malloc --enable-nss-crypt
make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s
@@ -1020,6 +1028,10 @@ rm -f *.filelist*
%endif
%changelog
+* Mon Apr 27 2009 Kedar Sovani <kedars(a)marvell.com> 2.9.90-19.fa1
+ - Include support for buildling on arm*-redhat-linux-gnueabi
+ - include ports
+
* Thu Apr 16 2009 Jakub Jelinek <jakub(a)redhat.com> 2.9.90-19
- update from trunk
- fix dlopen from statically linked binaries (#495830)
--
1.5.3.3