]> git.pld-linux.org Git - packages/crossppc-gcc.git/commitdiff
- use common PR patches, no-FPU abi disabled, system includes saved. auto/th/crossppc-gcc-4_0_0-2
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 2 May 2005 11:35:39 +0000 (11:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2.

Changed files:
    crossppc-gcc.spec -> 1.21

crossppc-gcc.spec

index 1835b3a8f7477eaa2dead133775020a4d989f3b6..a6fa2314147aa16f24a501596ab67239661b4761 100644 (file)
@@ -6,7 +6,7 @@ Summary(pt_BR): Utilit
 Summary(tr):   GNU geliþtirme araçlarý - PPC gcc
 Name:          crossppc-gcc
 Version:       4.0.0
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL
 Group:         Development/Languages
@@ -21,15 +21,16 @@ Source2:    ftp://sources.redhat.com/pub/glibc/releases/glibc-%{_glibc_ver}.tar.bz2
 Source3:       ftp://sources.redhat.com/pub/glibc/releases/glibc-linuxthreads-%{_glibc_ver}.tar.bz2
 # Source3-md5: 77011b0898393c56b799bc011a0f37bf
 Patch0:                %{name}-libc-sysdeps-configure.patch
-Patch1:                %{name}-pr20973.patch
-Patch2:                %{name}-pr21173.patch
+Patch1:                gcc-pr20973.patch
+Patch2:                gcc-pr21173.patch
 URL:           http://gcc.gnu.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
 BuildRequires: crossppc-binutils
+BuildRequires: fileutils >= 4.0.41
 BuildRequires: flex
-BuildRequires: /bin/bash
+BuildRequires: texinfo >= 4.1
 Requires:      crossppc-binutils
 Requires:      gcc-dirs
 ExcludeArch:   ppc
@@ -69,7 +70,7 @@ Ten pakiet dodaje obs
 
 %prep
 %setup -q -n gcc-%{version} -a1 -a2 -a3
-mv linuxthreads* glibc-%{_glibc_ver}/
+mv linuxthreads* glibc-%{_glibc_ver}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -117,13 +118,16 @@ TEXCONFIG=false \
        --libdir=%{_libdir} \
        --libexecdir=%{_libdir} \
        --disable-shared \
+       --disable-threads \
        --enable-languages="c,c++" \
        --enable-c99 \
        --enable-long-long \
+       --disable-nls \
        --with-gnu-as \
        --with-gnu-ld \
+       --with-demangler-in-ld \
        --with-system-zlib \
-       --with-multilib \
+       --disable-multilib \
        --with-sysroot=$FAKE_ROOT \
        --without-x \
        --target=%{target} \
@@ -143,9 +147,19 @@ install obj-%{target}/gcc/specs $RPM_BUILD_ROOT%{gcclib}
 # don't want this here
 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
 
+# include/ contains install-tools/include/* and headers that were fixed up
+# by fixincludes, we don't want former
+gccdir=$RPM_BUILD_ROOT%{gcclib}
+mkdir  $gccdir/tmp
+# we have to save these however
+mv -f  $gccdir/include/syslimits.h $gccdir/tmp
+rm -rf $gccdir/include
+mv -f  $gccdir/tmp $gccdir/include
+cp -f  $gccdir/install-tools/include/*.h $gccdir/include
+# but we don't want anything more from install-tools
+rm -rf $gccdir/install-tools
+
 %if 0%{!?debug:1}
-%{target}-strip -g $RPM_BUILD_ROOT%{gcclib}/nof/libgcc.a
-%{target}-strip -g $RPM_BUILD_ROOT%{gcclib}/nof/libgcov.a
 %{target}-strip -g $RPM_BUILD_ROOT%{gcclib}/libgcc.a
 %{target}-strip -g $RPM_BUILD_ROOT%{gcclib}/libgcov.a
 %endif
@@ -161,9 +175,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{gcclib}
 %attr(755,root,root) %{gcclib}/cc1
 %attr(755,root,root) %{gcclib}/collect2
-%dir %{gcclib}/nof
-%{gcclib}/nof/*crt*.o
-%{gcclib}/nof/libgcc.a
 %{gcclib}/*crt*.o
 %{gcclib}/libgcc.a
 %{gcclib}/specs*
This page took 0.135039 seconds and 4 git commands to generate.