diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-16 03:18:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-16 03:18:43 +0000 |
commit | 09b41d2262d68cc6675419b72b1813349a0c70d2 (patch) | |
tree | 08a246879012bdf42f7320917d1895b434535696 /contrib | |
parent | 5b6f5447c54dae411ed349e62882ac879772dffb (diff) |
Back port from CVS-HEAD.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gcc/gccnewlib.add | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index bb38a7f62f..abd52026cb 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -74,6 +74,12 @@ BuildRequires: %{_host_rpmprefix}gcc %global gmp_provided 4.1.4 %endif +%if 0%{?suse12_1} +%global mpc_provided 0.8.2 +%global mpfr_provided 3.0.1 +%global gmp_provided 5.0.2 +%endif + %if 0%{?suse11_3} %global mpc_provided 0.8.1 %global mpfr_provided 2.4.2 @@ -186,14 +192,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required} BuildRequires: @rpmprefix@@tool_target@-gcc = %{gcc_rpmvers} %endif -%if "%{gcc_version}" >= "4.2.0" +# Not strictly required, but patches may introduce a need to use them. +# For reasons of simplicity, always require them. BuildRequires: flex bison -%endif - -%if %build_gcj -# Building gcj requires bison and zlib -BuildRequires: bison -%endif BuildRequires: texinfo >= 4.2 BuildRequires: @rpmprefix@@tool_target@-binutils |