[PATCH 2/3] glibc: Include support for building armv5tel-redhat-linux-gnueabi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Signed-off-by: Kedar Sovani <kedars@xxxxxxxxxxx>
---
 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@xxxxxxxxxxx> 2.9.90-19.fa1
+ - Include support for buildling on arm*-redhat-linux-gnueabi
+ - include ports
+
 * Thu Apr 16 2009 Jakub Jelinek <jakub@xxxxxxxxxx> 2.9.90-19
 - update from trunk
   - fix dlopen from statically linked binaries (#495830)
-- 
1.5.3.3

_______________________________________________
fedora-arm mailing list
fedora-arm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux