]> git.pld-linux.org Git - packages/gcc4.git/blobdiff - gcc4.spec
using update-db is obsolete; removed
[packages/gcc4.git] / gcc4.spec
index b5459a300537c878b9ea9a1117cf7b869b779b24..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:       1
+Release:       14
 License:       GPL
 Group:         Development/Languages
 Group(de):     Entwicklung/Sprachen
@@ -41,7 +41,10 @@ Patch26:     %{name}-gcj-vs-iconv.patch
 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/
@@ -350,8 +353,8 @@ Preprocesor C umo
 %patch26 -p0
 %patch27 -p0
 %patch28 -p0
-
-%{?glibc22:%patch100 -p1}
+%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.049992 seconds and 4 git commands to generate.