diff options
author | Dennis Gilmore <ausil@fedoraproject.org> | 2009-06-09 22:23:38 +0000 |
---|---|---|
committer | Dennis Gilmore <ausil@fedoraproject.org> | 2009-06-09 22:23:38 +0000 |
commit | 014624f9d68e060df07cbc95a85b11b5d8ce01ee (patch) | |
tree | 4d9057cb3ab50b62226ab8ded5406da6c04b0244 | |
parent | 7b2faeeffc7f16730cdc15cb443fa10d747692b3 (diff) | |
download | guile-014624f9d68e060df07cbc95a85b11b5d8ce01ee.tar.gz guile-014624f9d68e060df07cbc95a85b11b5d8ce01ee.tar.xz guile-014624f9d68e060df07cbc95a85b11b5d8ce01ee.zip |
build sparcv9 with -O0 not -O2 test suit hangs otherwiseguile-1_8_6-4_fc12
-rw-r--r-- | guile.spec | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme for application extensibility 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/%{mver}/slibcat 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@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@lists.fedoraproject.org> - 5:1.8.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |