]> git.pld-linux.org Git - packages/gcc4.git/blobdiff - gcc4.spec
using update-db is obsolete; removed
[packages/gcc4.git] / gcc4.spec
index e0af2bc90964f72f39a718ee29f105474ebdb57e..94d9b1dfd57fb9eb3cf7af44baa698a88dea332c 100644 (file)
--- a/gcc4.spec
+++ b/gcc4.spec
@@ -3,7 +3,7 @@ Summary:        GNU Compiler Collection
 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
@@ -42,7 +42,9 @@ Patch27:      %{name}-libobjc.patch
 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/
@@ -352,6 +354,7 @@ Preprocesor C umo
 %patch27 -p0
 %patch28 -p0
 %patch29 -p1
+%patch30 -p1
 
 %build
 (cd gcc; autoconf)
@@ -360,7 +363,7 @@ install -d obj-%{_target_platform} && cd obj-%{_target_platform}
 
 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 \
@@ -376,7 +379,9 @@ CXXFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 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}
 
This page took 0.040399 seconds and 4 git commands to generate.