Summary(pl): Kolekcja kompilatorów GNU
Name: gcc
Version: 2.95.3
-Release: 11
+Release: 14
License: GPL
Group: Development/Languages
Group(de): Entwicklung/Sprachen
Patch28: %{name}-pointer-arith.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/
%patch27 -p0
%patch28 -p0
%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}