From 4be8e0014935b91ea0cb13a27b42c9f437cc7d98 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 22 Oct 2003 19:57:43 +0000 Subject: 2003-10-22 Ralf Corsepius * gcc3newlib/Makefile.am: Add tic4x. * gcc3newlib/gccnewlib.add: Don't install install-tools for gcc >= 3.3. --- scripts/ChangeLog | 6 ++++++ scripts/gcc3newlib/Makefile.am | 4 ++++ scripts/gcc3newlib/gccnewlib.add | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/scripts/ChangeLog b/scripts/ChangeLog index 66bbb70388..0fa3bb82fa 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,9 @@ +2003-10-22 Ralf Corsepius + + * gcc3newlib/Makefile.am: Add tic4x. + * gcc3newlib/gccnewlib.add: Don't install install-tools for + gcc >= 3.3. + 2003-10-22 Joel Sherrill * configure.ac, setup.def: Update to binutils 2.14 adn gcc/newlib to diff --git a/scripts/gcc3newlib/Makefile.am b/scripts/gcc3newlib/Makefile.am index 1e6219cd45..e838f231f9 100644 --- a/scripts/gcc3newlib/Makefile.am +++ b/scripts/gcc3newlib/Makefile.am @@ -36,6 +36,10 @@ c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) $(MKSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems@osversion@ > $@ RPM_SPECS_DATA += c4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec +tic4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) + $(MKSPEC) -cfg $(top_builddir)/setup.cache tic4x-rtems@osversion@ > $@ +RPM_SPECS_DATA += tic4x-rtems@osversion@-$(GCC3NEWLIBVERS).spec + h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec: $(MKGCCNEWLIBSPEC_DEPS) $(MKSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems@osversion@ > $@ RPM_SPECS_DATA += h8300-rtems@osversion@-$(GCC3NEWLIBVERS).spec diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add index 8f81197bd1..7fd89fc536 100644 --- a/scripts/gcc3newlib/gccnewlib.add +++ b/scripts/gcc3newlib/gccnewlib.add @@ -266,6 +266,12 @@ This is gcc's and newlib C Library's sources with patches for RTEMS. # We use the version from binutils rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{gcc_target}-c++filt%{_exeext} +%if "%{gcc_version}" >= "3.3" + # Bug in gcc-3.3.x: Despite we don't need fixincludes, it installs + # the fixinclude-install-tools + rm -rf ${RPM_BUILD_ROOT}%{_prefix}/lib/gcc-lib/%{gcc_target}/%{gcc_version}/install-tools +%endif + %if "%{gcc_version}" < "3.0" # Bug in gcc-2.95.x: It bogusly tries to share cpp for all targets. # Rename it to target_alias-cpp -- cgit v1.2.3