rpms/unuran/devel unuran.spec,1.2,1.3

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Sun Mar 16 14:10:33 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/unuran/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26479

Modified Files:
	unuran.spec 
Log Message:
Workaround for gcc-4.3 (-fno-optimize-sibling-calls)



Index: unuran.spec
===================================================================
RCS file: /cvs/pkgs/rpms/unuran/devel/unuran.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- unuran.spec	19 Feb 2008 23:43:35 -0000	1.2
+++ unuran.spec	16 Mar 2008 14:09:56 -0000	1.3
@@ -1,6 +1,6 @@
 Name:		unuran
 Version:	1.2.1
-Release: 	1%{?dist}
+Release: 	2%{?dist}
 Summary:	Universal Non-Uniform Random number generator
 
 Group:		System Environment/Libraries
@@ -9,7 +9,6 @@
 Source0:	http://statistik.wu-wien.ac.at/unuran/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-#BuildRequires:	
 Requires(post): /sbin/ldconfig, /sbin/install-info
 Requires(preun): /sbin/install-info
 
@@ -41,7 +40,9 @@
 
 
 %build
-%configure --enable-shared --disable-static --enable-logging
+# Workaround for gcc-4.3
+CFLAGS='%{optflags} -fno-optimize-sibling-calls' %configure --enable-shared --disable-static --enable-logging
+#%configure --enable-shared --disable-static --enable-logging
 make %{?_smp_mflags}
 
 
@@ -95,6 +96,9 @@
 make check
 
 %changelog
+* Sun Mar 16 2008 Neal Becker <ndbecker2 at gmail.com> - 1.2.1-2
+- -fno-optimize-sibling-calls workaround for gcc-4.3
+
 * Tue Feb 19 2008 Neal Becker <ndbecker2 at gmail.com> - 1.2.1-1
 - Update to 1.2.1
 




More information about the fedora-extras-commits mailing list