From 61066d83f122f4fc06ae99b0491183fa7cdf348a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sat, 26 Nov 2005 17:00:01 +0000 Subject: [PATCH] - don't use mmx during bootstrap. gnat won't work with mmx and x87/mmx mode switching patchset. waiting for updated patchset... Changed files: gcc.spec -> 1.392 --- gcc.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc.spec b/gcc.spec index f83be38..715c907 100644 --- a/gcc.spec +++ b/gcc.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} -- 2.44.0