summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/gccnewlib.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-24 06:33:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-24 06:33:57 +0000
commit233186ac352b667b7f31ee41de54bba34d681d56 (patch)
treea3b2fa6f50b650b992fbcce0500f32be236743f4 /scripts/gcc3newlib/gccnewlib.add
parent2005-02-22 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-233186ac352b667b7f31ee41de54bba34d681d56.tar.bz2
2005-02-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* gcc3newlib/gccnewlib.add, gcc3newlib/mkspec.in, setup.def: Add gcc_suffix. Add newlib_suffix.
Diffstat (limited to 'scripts/gcc3newlib/gccnewlib.add')
-rw-r--r--scripts/gcc3newlib/gccnewlib.add10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add
index 9644cceb00..61b2e5089b 100644
--- a/scripts/gcc3newlib/gccnewlib.add
+++ b/scripts/gcc3newlib/gccnewlib.add
@@ -17,7 +17,7 @@ Packager: ralf.corsepius@rtems.org and joel@OARcorp.com
Version: gcc%{gcc_version}newlib%{newlib_version}
%if "%{gcc_version}" >= "3.2.2"
-Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
+Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}@gcc_suffix@
%else
%if "%{gcc_version}" >= "3.0"
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.gz
@@ -25,7 +25,7 @@ Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar
Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}-everything.tar.gz
%endif
%endif
-Source1: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
+Source1: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}@newlib_suffix@
@PATCH1@
@PATCH3@
BuildPreReq: texinfo >= 4.2
@@ -65,9 +65,9 @@ NoSource: 1
%endif
-%define build_cxx 1
-%define build_g77 0
-%define build_objc 0
+%define build_cxx %{?cxx:%cxx}%{!?cxx:1}
+%define build_g77 %{?g77:%g77}%{!?g77:0}
+%define build_objc %{?objc:%objc}%{!?objc:0}
%define build_gcj 0
%define build_gnat 0