build -O1 sparc64
This commit is contained in:
parent
74b1eab5e6
commit
2f4174b639
@ -83,7 +83,7 @@
|
|||||||
Summary: PostgreSQL client programs and libraries
|
Summary: PostgreSQL client programs and libraries
|
||||||
Name: postgresql
|
Name: postgresql
|
||||||
Version: 8.3.5
|
Version: 8.3.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
@ -393,6 +393,10 @@ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
|
|||||||
|
|
||||||
# Strip out -ffast-math from CFLAGS....
|
# Strip out -ffast-math from CFLAGS....
|
||||||
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
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.
|
# Use --as-needed to eliminate unnecessary link dependencies.
|
||||||
# Hopefully upstream will do this for itself in some future release.
|
# Hopefully upstream will do this for itself in some future release.
|
||||||
@ -859,6 +863,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
|
||||||
- rebuild with new openssl
|
- rebuild with new openssl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user