diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index 8b318b1490..67c9770cdf 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -17,7 +17,7 @@ Summary: @tool_target@ gcc Group: %{rpmgroup} Version: %gcc_rpmvers -Release: @GCC_RPMREL@ +Release: @GCC_RPMREL@%{?dist} License: GPL URL: http://gcc.gnu.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -64,6 +64,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define _fortran 0 %endif +%if "@tool_target@" == "i686-pc-mingw32" +%define _cxx 0 +%endif # Allow the user to build arbitrary languages %{?_with_cxx:%define _cxx 1}