rpms/guile/devel guile.spec,1.63,1.64
Dennis Gilmore
ausil at fedoraproject.org
Tue Jun 9 22:24:09 UTC 2009
- Previous message (by thread): rpms/pam_krb5/devel .cvsignore, 1.55, 1.56 pam_krb5.spec, 1.68, 1.69 sources, 1.55, 1.56
- Next message (by thread): rpms/qca2/F-9 .cvsignore, 1.3, 1.4 qca2.spec, 1.8, 1.9 sources, 1.3, 1.4 qca2-2.0.0-64bits.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/pkgs/rpms/guile/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29508
Modified Files:
guile.spec
Log Message:
build sparcv9 with -O0 not -O2 test suit hangs otherwise
Index: guile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/guile/devel/guile.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -p -r1.63 -r1.64
--- guile.spec 25 Feb 2009 02:46:28 -0000 1.63
+++ guile.spec 9 Jun 2009 22:23:38 -0000 1.64
@@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme
Name: guile
%define mver 1.8
Version: 1.8.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.gz
URL: http://www.gnu.org/software/guile/
Patch1: guile-1.8.4-multilib.patch
@@ -51,6 +51,14 @@ install the guile package.
%build
+%ifarch sparcv9
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
+CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
+
+# use -O0 on sparcv9
+CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O0|g" `
+%endif
+
%configure --disable-static --disable-error-on-warning
# Remove RPATH
@@ -80,6 +88,13 @@ touch $RPM_BUILD_ROOT%{_datadir}/guile/%
ln -s ../../slib $RPM_BUILD_ROOT%{_datadir}/guile/%{mver}/slib
%check
+%ifarch sparcv9
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
+CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
+
+# use -O0 on sparcv9
+CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O0|g" `
+%endif
make %{?_smp_mflags} check
%clean
@@ -165,6 +180,9 @@ fi
%{_includedir}/libguile.h
%changelog
+* Tue Jun 09 2009 Dennis Gilmore <dennis at ausil.us> - 5:1.8.6-4
+- build with -O0 on sparcv9 otherwise test suite hangs
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5:1.8.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/pam_krb5/devel .cvsignore, 1.55, 1.56 pam_krb5.spec, 1.68, 1.69 sources, 1.55, 1.56
- Next message (by thread): rpms/qca2/F-9 .cvsignore, 1.3, 1.4 qca2.spec, 1.8, 1.9 sources, 1.3, 1.4 qca2-2.0.0-64bits.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list