]> git.pld-linux.org Git - packages/gcc4.git/commitdiff
- don't use mmx during bootstrap. gnat won't work with mmx and x87/mmx
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 26 Nov 2005 17:00:01 +0000 (17:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  mode switching patchset. waiting for updated patchset...

Changed files:
    gcc4.spec -> 1.392

gcc4.spec

index f83be38edf6140ba18da022a8d5b10e1b9063181..715c90712775c71d3679401ad0026ce539efd235 100644 (file)
--- a/gcc4.spec
+++ b/gcc4.spec
@@ -45,7 +45,7 @@ Summary(pt_BR):       Cole
 Name:          gcc
 Version:       4.1.0
 %define                _snap   20051123r107414
-Release:       0.%{_snap}.0.4
+Release:       0.%{_snap}.1
 Epoch:         5
 License:       GPL v2+
 Group:         Development/Languages
@@ -117,7 +117,7 @@ BuildRequires:      glibc-devel >= 2.2.5-20
 BuildRequires: gmp-devel
 BuildRequires: libmpfr-devel
 %endif
-%{?with:java:BuildRequires:    libxslt-devel}
+%{?with_java:BuildRequires:    libxslt-devel}
 %{?with_java:BuildRequires:    pango-devel}
 BuildRequires: perl-devel
 %{?with_java:BuildRequires:    pkgconfig}
@@ -148,6 +148,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _libdir32       /usr/lib
 %endif
 
+%ifarch %{ix86} %{x8664}
+%define                specflags       -mno-mmx
+%endif
+
 %description
 A compiler aimed at integrating all the optimizations and features
 necessary for a high-performance and stable development environment.
@@ -752,7 +756,7 @@ Statyczne biblioteki Obiektowego C.
 
 %patch0 -p1
 %patch1 -p1
-%{!?debug:%patch2 -p1}
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
@@ -848,7 +852,7 @@ cd ..
        GCJFLAGS="%{rpmcflags}" \
        BOOT_CFLAGS="%{rpmcflags}" \
        STAGE1_CFLAGS="%{rpmcflags} -O0" \
-       GNATLIBCFLAGS="%{rpmcflags} -O1" \
+       GNATLIBCFLAGS="%{rpmcflags}" \
        LDFLAGS_FOR_TARGET="%{rpmldflags}" \
        mandir=%{_mandir} \
        infodir=%{_infodir}
This page took 0.117697 seconds and 4 git commands to generate.