forked from Imagelibrary/rtems
BR: @rpmprefix@@tool_target@-gcc and @rpmprefix@%{_host}-gcc for CdnX-builds.
This commit is contained in:
@@ -20,6 +20,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
|
|
||||||
|
%if "%{_build}" != "%{_host}"
|
||||||
|
BuildRequires: @rpmprefix@%{_host}-gcc
|
||||||
|
BuildRequires: @rpmprefix@@tool_target@-gcc
|
||||||
|
%endif
|
||||||
|
|
||||||
%if "%{gcc_version}" >= "4.2.0"
|
%if "%{gcc_version}" >= "4.2.0"
|
||||||
BuildRequires: flex bison
|
BuildRequires: flex bison
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user