Name: gcc
Version: 4.1.0
%define _snap 20051123r107414
-Release: 0.%{_snap}.0.4
+Release: 0.%{_snap}.1
Epoch: 5
License: GPL v2+
Group: Development/Languages
BuildRequires: gmp-devel
BuildRequires: libmpfr-devel
%endif
-%{?with:java:BuildRequires: libxslt-devel}
+%{?with_java:BuildRequires: libxslt-devel}
%{?with_java:BuildRequires: pango-devel}
BuildRequires: perl-devel
%{?with_java:BuildRequires: pkgconfig}
%define _libdir32 /usr/lib
%endif
+%ifarch %{ix86} %{x8664}
+%define specflags -mno-mmx
+%endif
+
%description
A compiler aimed at integrating all the optimizations and features
necessary for a high-performance and stable development environment.
%patch0 -p1
%patch1 -p1
-%{!?debug:%patch2 -p1}
+%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
GCJFLAGS="%{rpmcflags}" \
BOOT_CFLAGS="%{rpmcflags}" \
STAGE1_CFLAGS="%{rpmcflags} -O0" \
- GNATLIBCFLAGS="%{rpmcflags} -O1" \
+ GNATLIBCFLAGS="%{rpmcflags}" \
LDFLAGS_FOR_TARGET="%{rpmldflags}" \
mandir=%{_mandir} \
infodir=%{_infodir}