SPECS: crossppc64-gcc.spec - updated to 4.1.0-20060106, cross-glib...

pluto pluto at pld-linux.org
Sun Jan 8 20:05:56 CET 2006


Author: pluto                        Date: Sun Jan  8 19:05:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.1.0-20060106, cross-glibc headers generation dropped.

---- Files affected:
SPECS:
   crossppc64-gcc.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/crossppc64-gcc.spec
diff -u SPECS/crossppc64-gcc.spec:1.12 SPECS/crossppc64-gcc.spec:1.13
--- SPECS/crossppc64-gcc.spec:1.12	Wed Jan  4 16:09:34 2006
+++ SPECS/crossppc64-gcc.spec	Sun Jan  8 20:05:51 2006
@@ -7,23 +7,16 @@
 Summary(tr):	GNU geliţtirme araçlarý - PPC64 gcc
 Name:		crossppc64-gcc
 Version:	4.1.0
-%define		_snap	20051230
+%define		_snap	20060106
 Release:	0.%{_snap}.1
 Epoch:		1
 License:	GPL
 Group:		Development/Languages
 #Source0:	ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
 Source0:	ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
-# Source0-md5:	f76dfdb7b6a3148ca94ebab429346729
-%define		_llh_ver	2.6.12.0
-Source1:	http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-%{_llh_ver}.tar.bz2
-# Source1-md5:	eae2f562afe224ad50f65a6acfb4252c
-%define		_glibc_ver	2.3.6
-Source2:	ftp://sources.redhat.com/pub/glibc/releases/glibc-%{_glibc_ver}.tar.bz2
-# Source2-md5:	bfdce99f82d6dbcb64b7f11c05d6bc96
-Source3:	ftp://sources.redhat.com/pub/glibc/releases/glibc-linuxthreads-%{_glibc_ver}.tar.bz2
-# Source3-md5:	d4eeda37472666a15cc1f407e9c987a9
-Patch0:		%{name}-libc-sysdeps-configure.patch
+# Source0-md5:	de7fdd94d3bead292fda8eeeab7454ce
+Patch0:		gcc-pr25672.patch
+Patch1:		gcc-pr25715.patch
 URL:		http://gcc.gnu.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -70,38 +63,12 @@
 Ten pakiet dodaje obsługę C++ do kompilatora gcc dla PPC64.
 
 %prep
-#setup -q -n gcc-%{version} -a1 -a2 -a3
-%setup -q -n gcc-4.1-%{_snap} -a1 -a2 -a3
-mv linuxthreads* glibc-%{_glibc_ver}
+#setup -q -n gcc-%{version}
+%setup -q -n gcc-4.1-%{_snap}
 %patch0 -p1
+%patch1 -p1
 
 %build
-FAKE_ROOT=$PWD/fake-root
-
-rm -rf $FAKE_ROOT && install -d $FAKE_ROOT%{_includedir}
-cp -r linux-libc-headers-%{_llh_ver}/include/{asm-ppc64,linux} $FAKE_ROOT%{_includedir}
-ln -s asm-ppc64 $FAKE_ROOT%{_includedir}/asm
-
-cd glibc-%{_glibc_ver}
-cp -f /usr/share/automake/config.* scripts
-rm -rf builddir && install -d builddir && cd builddir
-../configure \
---prefix=$FAKE_ROOT%{_prefix} \
-	--build=%{_target_platform} \
-	--host=%{target} \
-	--disable-nls \
-	--enable-add-ons=linuxthreads \
-	--with-headers=$FAKE_ROOT%{_includedir} \
-	--disable-sanity-checks \
-	--enable-hacker-mode
-
-%{__make} sysdeps/gnu/errlist.c
-%{__make} install-headers
-
-install bits/stdio_lim.h $FAKE_ROOT%{_includedir}/bits
-touch $FAKE_ROOT%{_includedir}/gnu/stubs.h
-cd ../..
-
 cp -f /usr/share/automake/config.* .
 rm -rf obj-%{target}
 install -d obj-%{target}
@@ -119,6 +86,7 @@
 	--libexecdir=%{_libdir} \
 	--disable-shared \
 	--disable-threads \
+	--without-headers \
 	--enable-languages="c,c++" \
 	--enable-c99 \
 	--enable-long-long \
@@ -128,7 +96,6 @@
 	--with-demangler-in-ld \
 	--with-system-zlib \
 	--enable-multilib \
-	--with-headers=$FAKE_ROOT%{_includedir} \
 	--without-x \
 	--target=%{target} \
 	--host=%{_target_platform} \
@@ -198,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/01/08 19:05:51  pluto
+- updated to 4.1.0-20060106, cross-glibc headers generation dropped.
+
 Revision 1.12  2006/01/04 15:09:34  pluto
 - updated to 4.1 snap (it produces correct ppc64 kernel).
 - don't use --sysroot configure option (it hardcodes paths in binaries).
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossppc64-gcc.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list