rpms/postgresql/F-9 postgresql.spec,1.98,1.99

Dennis Gilmore ausil at fedoraproject.org
Thu Jan 22 07:23:06 UTC 2009


Author: ausil

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

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



Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/F-9/postgresql.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- postgresql.spec	2 Nov 2008 18:47:15 -0000	1.98
+++ postgresql.spec	22 Jan 2009 07:22:36 -0000	1.99
@@ -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 fedora-extras-commits mailing list