summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/gccnewlib.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-01-29 14:06:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-01-29 14:06:02 +0000
commitc86d8e7f37286f5d6a5ae3fe7a8fd57eeab36017 (patch)
tree4dbfc276f70c7d612ea4301016b86959ad3ff633 /scripts/gcc3newlib/gccnewlib.add
parent2003-01-28 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-c86d8e7f37286f5d6a5ae3fe7a8fd57eeab36017.tar.bz2
2003-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: Fix yesterday's entry. * gdb/target-gdb.add: %defattr(-,root,root). Use %{_prefix} instead of /opt/rtems. Misc. minor changes. * gdb/gdb.add: Use %{_prefix} instead of /opt/rtems. Remove stray unpackaged files. Use %{_defaultbuildroot} instead of hard-coded values. configure --disable-nls. Misc. minor changes. Add BuildPreReq: ncurses-devel. * gdb/base-gdb.add: %defattr(-,root,root). Use %{_prefix} instead of /opt/rtems. Misc. minor changes. * gdb/mkspec.in: New. * gdb/Makefile.am: Reflect addition of gdb/mkspec.in. * gcc3newlib/mkspec.in: Fix usage. * gcc3newlib/gccnewlib.add: Use %{_defaultbuildroot} instead of hard-coded values. Update copyright notice. * mkgdbspec.in: Removed. * Makefile.am: Remove mkgdbspec. * configure.ac: Remove mkgdbspec. Add gdb/mkspec.
Diffstat (limited to 'scripts/gcc3newlib/gccnewlib.add')
-rw-r--r--scripts/gcc3newlib/gccnewlib.add7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add
index b966956231..0116502ca2 100644
--- a/scripts/gcc3newlib/gccnewlib.add
+++ b/scripts/gcc3newlib/gccnewlib.add
@@ -1,12 +1,13 @@
#
# spec file for building gcc for rtems
#
-# Copyright (c) 1999,2000,2001 OARCorp, Huntsville, AL
+# Copyright (c) 1999,2000,2001,2002,2003 OARCorp, Huntsville, AL
#
# please send bugfixes or comments to joel@OARcorp.com
#
%define _prefix @prefix@
+%define _defaultbuildroot %{_tmppath}/%{name}-%{version}
Vendor: OAR Corporation
Distribution: Linux
@@ -28,7 +29,7 @@ Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-@gcc_version@.tar.gz
Source1: ftp://sources.redhat.com/pub/newlib/newlib-@newlib_version@.tar.gz
@PATCH1@
@PATCH3@
-Buildroot: %{_tmppath}/%{name}
+Buildroot: %{_defaultbuildroot}
BuildPreReq: texinfo >= 4.2
BuildPreReq: @target_alias@-binutils
#
@@ -330,5 +331,5 @@ This is gcc's and newlib C Library's sources with patches for RTEMS.
%clean
# let rpm --clean remove BuildRoot iif using the default BuildRoot
- test "$RPM_BUILD_ROOT" = "%{_tmppath}/%{name}" && \
+ test "$RPM_BUILD_ROOT" = "%{_defaultbuildroot}" && \
rm -rf $RPM_BUILD_ROOT