SPECS: crossppc-gcc.spec - build simplified. hack'em all. - releas...
pluto
pluto at pld-linux.org
Mon Jan 9 21:34:48 CET 2006
Author: pluto Date: Mon Jan 9 20:34:48 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build simplified. hack'em all.
- release 2.
---- Files affected:
SPECS:
crossppc-gcc.spec (1.30 -> 1.31)
---- Diffs:
================================================================
Index: SPECS/crossppc-gcc.spec
diff -u SPECS/crossppc-gcc.spec:1.30 SPECS/crossppc-gcc.spec:1.31
--- SPECS/crossppc-gcc.spec:1.30 Mon Oct 3 11:45:03 2005
+++ SPECS/crossppc-gcc.spec Mon Jan 9 21:34:42 2006
@@ -7,21 +7,13 @@
Summary(tr): GNU geliţtirme araçlarý - PPC gcc
Name: crossppc-gcc
Version: 4.0.2
-Release: 1
+Release: 2
Epoch: 1
License: GPL
Group: Development/Languages
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
# Source0-md5: a659b8388cac9db2b13e056e574ceeb0
-%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.5
-Source2: ftp://sources.redhat.com/pub/glibc/releases/glibc-%{_glibc_ver}.tar.bz2
-# Source2-md5: 93d9c51850e0513aa4846ac0ddcef639
-Source3: ftp://sources.redhat.com/pub/glibc/releases/glibc-linuxthreads-%{_glibc_ver}.tar.bz2
-# Source3-md5: 77011b0898393c56b799bc011a0f37bf
-Patch0: %{name}-libc-sysdeps-configure.patch
+Patch0: gcc-pr25715.patch
URL: http://gcc.gnu.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -67,37 +59,10 @@
Ten pakiet dodaje obsługę C++ do kompilatora gcc dla PPC.
%prep
-%setup -q -n gcc-%{version} -a1 -a2 -a3
-mv linuxthreads* glibc-%{_glibc_ver}
+%setup -q -n gcc-%{version}
%patch0 -p1
%build
-FAKE_ROOT=$PWD/fake-root
-
-rm -rf $FAKE_ROOT && install -d $FAKE_ROOT/usr/include
-cp -r linux-libc-headers-%{_llh_ver}/include/{asm-ppc,linux} $FAKE_ROOT/usr/include
-ln -s asm-ppc $FAKE_ROOT/usr/include/asm
-
-cd glibc-%{_glibc_ver}
-cp -f /usr/share/automake/config.* scripts
-rm -rf builddir && install -d builddir && cd builddir
-../configure \
- --prefix=$FAKE_ROOT/usr \
- --build=%{_target_platform} \
- --host=%{target} \
- --disable-nls \
- --enable-add-ons=linuxthreads \
- --with-headers=$FAKE_ROOT/usr/include \
- --disable-sanity-checks \
- --enable-hacker-mode
-
-%{__make} sysdeps/gnu/errlist.c
-%{__make} install-headers
-
-install bits/stdio_lim.h $FAKE_ROOT/usr/include/bits
-touch $FAKE_ROOT/usr/include/gnu/stubs.h
-cd ../..
-
cp -f /usr/share/automake/config.* .
rm -rf obj-%{target}
install -d obj-%{target}
@@ -115,6 +80,7 @@
--libexecdir=%{_libdir} \
--disable-shared \
--disable-threads \
+ --without-headers \
--enable-languages="c,c++" \
--enable-c99 \
--enable-long-long \
@@ -124,7 +90,6 @@
--with-demangler-in-ld \
--with-system-zlib \
--disable-multilib \
- --with-sysroot=$FAKE_ROOT \
--without-x \
--target=%{target} \
--host=%{_target_platform} \
@@ -191,6 +156,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.31 2006/01/09 20:34:42 pluto
+- build simplified. hack'em all.
+- release 2.
+
Revision 1.30 2005/10/03 09:45:03 pluto
- updated to 4.0.2, cleanups.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossppc-gcc.spec?r1=1.30&r2=1.31&f=u
More information about the pld-cvs-commit
mailing list