From 7e010cb06727a4eafbcd0f60f4fc684798224fea Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 4 Jan 2007 09:57:02 +0000 Subject: [PATCH] Normal build for Ada on PPC --- .cvsignore | 1 - gcc41.spec | 15 ++------------- sources | 1 - 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index fdc89a6..00e527a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ gcc-4.1.1-20070102.tar.bz2 -gcc-gnat-4.1.1-47.ppc.tar.gz diff --git a/gcc41.spec b/gcc41.spec index 6ec307d..301a117 100644 --- a/gcc41.spec +++ b/gcc41.spec @@ -1,6 +1,6 @@ %define DATE 20070102 %define gcc_version 4.1.1 -%define gcc_release 50.1 +%define gcc_release 51 %define _unpackaged_files_terminate_build 0 %define multilib_64_archs sparc64 ppc64 s390x x86_64 %define include_gappletviewer 1 @@ -32,7 +32,6 @@ Source0: gcc-%{version}-%{DATE}.tar.bz2 Source1: libgcc_post_upgrade.c Source2: README.libgcjwebplugin.so Source3: protoize.1 -Source4: gcc-gnat-4.1.1-47.ppc.tar.gz URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Need binutils with -pie support >= 2.14.90.0.4-4 @@ -59,10 +58,8 @@ BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc. %endif %if %{build_ada} # Ada requires Ada to build -%ifnarch ppc BuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1 %endif -%endif %ifarch ia64 BuildRequires: libunwind >= 0.98 %endif @@ -509,9 +506,6 @@ if [ -d libstdc++-v3/config/abi/sparc64-linux-gnu ]; then rm -rf libstdc++-v3/config/abi/sparc64-linux-gnu/32 fi %endif -%ifarch ppc -tar xfz %SOURCE4 -%endif %build @@ -549,11 +543,6 @@ EOF CC=`pwd`/gcc64 fi %endif -%ifarch ppc - CC=`pwd`/../usr/bin/gcc - export PATH=`pwd`/../usr/bin:$PATH - export LD_LIBRARY_PATH=`pwd`/../usr/lib -%endif OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'` case "$OPT_FLAGS" in *-fasynchronous-unwind-tables*) @@ -1556,7 +1545,7 @@ fi %doc rpm.doc/changelogs/libmudflap/ChangeLog* %changelog -* Wed Jan 3 2007 David Woodhouse 4.1.1-50.1 +* Thu Jan 4 2007 David Woodhouse 4.1.1-51 - Bootstrap Ada on PowerPC * Wed Jan 3 2007 Jakub Jelinek 4.1.1-50 diff --git a/sources b/sources index 0df7f84..799986a 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ 8a44fdf031974e9640b6ca7c77f0b499 gcc-4.1.1-20070102.tar.bz2 -2cd152cc704b26bac00556007fcf58cc gcc-gnat-4.1.1-47.ppc.tar.gz