Summary(pl): Kolekcja kompilatorów GNU
Name: gcc
Version: 2.95.3
-Release: 1
+Release: 14
License: GPL
Group: Development/Languages
Group(de): Entwicklung/Sprachen
Patch27: %{name}-libobjc.patch
Patch28: %{name}-pointer-arith.patch
-Patch100: %{name}-glibc-2.2.patch
+Patch29: %{name}-glibc-2.2.patch
+Patch30: %{name}-O2-bug.patch
+
+BuildRequires: bison
Requires: binutils >= 2.9.1.0.25
Requires: cpp = %{version}
URL: http://gcc.gnu.org/
%patch26 -p0
%patch27 -p0
%patch28 -p0
-
-%{?glibc22:%patch100 -p1}
+%patch29 -p1
+%patch30 -p1
%build
(cd gcc; autoconf)
CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
CXXFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
-../configure \
+TEXCONFIG=false ../configure \
--prefix=%{_prefix} \
--infodir=%{_infodir} \
--enable-shared \
PATH=$PATH:/sbin:%{_sbindir}
touch ../gcc/c-gperf.h
-%{__make} LDFLAGS_FOR_TARGET="%{!?debug:-s}" \
+cd ..
+%{__make} -C obj-%{_target_platform} bootstrap \
+ LDFLAGS_FOR_TARGET="%{!?debug:-s}" \
mandir=%{_mandir} \
infodir=%{_infodir}