rpms/postgresql/F-10 postgresql.spec,1.102,1.103

Dennis Gilmore ausil at fedoraproject.org
Thu Jan 22 07:31:12 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/postgresql/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27244

Modified Files:
	postgresql.spec 
Log Message:
use -O1 on sparc64



Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/F-10/postgresql.spec,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- postgresql.spec	2 Nov 2008 18:23:29 -0000	1.102
+++ postgresql.spec	22 Jan 2009 07:30:41 -0000	1.103
@@ -83,7 +83,7 @@
 Summary: PostgreSQL client programs and libraries
 Name: postgresql
 Version: 8.3.5
-Release: 1%{?dist}
+Release: 1%{?dist}.1
 License: BSD
 Group: Applications/Databases
 Url: http://www.postgresql.org/ 
@@ -393,6 +393,10 @@
 
 # Strip out -ffast-math from CFLAGS....
 CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
+# use -O1 on sparc64
+%ifarch sparc64
+CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
+%endif
 
 # Use --as-needed to eliminate unnecessary link dependencies.
 # Hopefully upstream will do this for itself in some future release.
@@ -859,6 +863,9 @@
 %endif
 
 %changelog
+* Wed Jan 21 2009 Dennis Gilmore <dennis at ausil.us> 8.3.5-1.1
+- use -O1 on sparc64
+
 * Sun Nov  2 2008 Tom Lane <tgl at redhat.com> 8.3.5-1
 - Update to PostgreSQL 8.3.5.
 - Improve display from init script's initdb action, per Michael Schwendt




More information about the scm-commits mailing list