Author: sparky                       Date: Mon Oct 30 19:31:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- with recent gcc it builds, works fine and passes tests on ppc without forcing 
-O1

---- Files affected:
SPECS:
   perl.spec (1.342 -> 1.343) 

---- Diffs:

================================================================
Index: SPECS/perl.spec
diff -u SPECS/perl.spec:1.342 SPECS/perl.spec:1.343
--- SPECS/perl.spec:1.342       Mon Oct 30 17:47:06 2006
+++ SPECS/perl.spec     Mon Oct 30 20:30:54 2006
@@ -77,10 +77,14 @@
 Patch12:       %{name}_588-27203.patch
 Patch13:       %{name}-ExtUtils-MakeMaker-write-permissions.patch
 URL:           http://dev.perl.org/perl5/
+%ifarch ppc
+# gcc 3.3.x miscompiles pp_hot.c
+BuildRequires: gcc >= 4.1
+%endif
+%{?with_gdbm:BuildRequires:    gdbm-devel}
 # required for proper Provides generation (older are not supported by spec)
 BuildRequires: rpm-build >= 4.3-0.20040107.4
 BuildRequires: rpmbuild(macros) >= 1.310
-%{?with_gdbm:BuildRequires:    gdbm-devel}
 Requires:      %{name}-base = %{epoch}:%{version}-%{release}
 Requires:      %{name}-modules = %{epoch}:%{version}-%{release}
 Requires:      %{name}-doc-reference = %{epoch}:%{version}-%{release}
@@ -90,11 +94,6 @@
 %define                __perl          %{_builddir}/%{name}-%{version}/runperl
 %define                __perl_provides %{__perl} %{SOURCE2}
 
-# gcc 3.3.x miscompiles pp_hot.c
-# (in PUSHSUB in entersub two SvREFCNT_inc()s are working as one)
-# -fno-strict-aliasing is already used to build Perl and doesn't help
-%define                specflags_ppc   -O1
-
 %description
 Perl is an interpreted language optimized for scanning arbitrary text
 files, extracting information from those text files, and printing
@@ -1400,6 +1399,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.343  2006/10/30 19:30:54  sparky
+- with recent gcc it builds, works fine and passes tests on ppc without 
forcing -O1
+
 Revision 1.342  2006/10/30 16:47:06  sparky
 - add ExtUtils-MakeMaker-write-permissions patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl.spec?r1=1.342&r2=1.343&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to