diff options
-rw-r--r-- | contrib/crossrpms/gcc/gccnewlib.add | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index 56d2be06a3..4bc3044b68 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -20,6 +20,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define _use_internal_dependency_generator 0 +%if "%{gcc_version}" >= "4.2.0" +BuildRequires: flex bison +%endif %if %build_gcj # Building gcj requires bison and zlib BuildRequires: bison |