diff options
author | Dennis Gilmore <ausil@fedoraproject.org> | 2009-01-22 07:36:28 +0000 |
---|---|---|
committer | Dennis Gilmore <ausil@fedoraproject.org> | 2009-01-22 07:36:28 +0000 |
commit | 2f4174b6392479e3c5a9146dabfbf39342b38ffd (patch) | |
tree | 81bee7a793041c872b95dcc3cdb71dbc91deb020 | |
parent | 74b1eab5e6d2c51b04fbf162f6b6465a53c6463f (diff) | |
download | postgresql-setup-postgresql-8_3_5-4_fc11.tar.gz postgresql-setup-postgresql-8_3_5-4_fc11.tar.xz postgresql-setup-postgresql-8_3_5-4_fc11.zip |
build -O1 sparc64postgresql-8_3_5-4_fc11
-rwxr-xr-x | postgresql.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/postgresql.spec b/postgresql.spec index 385c596..9efd66d 100755 --- a/postgresql.spec +++ b/postgresql.spec @@ -83,7 +83,7 @@ Summary: PostgreSQL client programs and libraries Name: postgresql Version: 8.3.5 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Group: Applications/Databases Url: http://www.postgresql.org/ @@ -393,6 +393,10 @@ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS # 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 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4 +- use -O1 on sparc64 + * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3 - rebuild with new openssl |