#
-# TODO:
-# - http://gcc.gnu.org/PR11203 (inline-asm)
-# - http://gcc.gnu.org/PR20128 (ice with mudflap + profile generate)
-#
# Conditional build:
%bcond_without ada # build without ADA support
%bcond_without cxx # build without C++ support
Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: 4.1.0
-%define _snap 20050804T2325UTC
+%define _snap 20050921T0223UTC
Release: 0.%{_snap}.1
Epoch: 5
License: GPL v2+
#Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
#Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
Source0: gcc-4.1-%{_snap}.tar.bz2
-# Source0-md5: 8bdc5564190c309f80629f7be37422b4
+# Source0-md5: 88f0c0f8a87ffbc27fb7e7996c173861
Source1: %{name}-optimize-la.pl
Patch0: %{name}-info.patch
Patch1: %{name}-nolocalefiles.patch
Patch11: %{name}-pr20297.patch
Patch12: %{name}-pr23128.patch
Patch13: %{name}-pr22533.patch
+Patch14: %{name}-x87-mmx-switch.patch
+Patch15: %{name}-x87-mmx-eh.patch
URL: http://gcc.gnu.org/
BuildRequires: autoconf
%{?with_tests:BuildRequires: autogen}
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
+%patch15 -p1
# because we distribute modified version of gcc...
perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
mandir=%{_mandir} \
infodir=%{_infodir}
-%{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 | cat}
+%{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
%install
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
%{_infodir}/fastjar*
%{_infodir}/gcj*
-%{_infodir}/hacking*
-%{_infodir}/vmintegration*
%{_mandir}/man1/fastjar*
%{_mandir}/man1/gcj*
%{_mandir}/man1/gjnih*