[cvc3] Rebuild for GCC 4.7.

Jerry James jjames at fedoraproject.org
Fri Jan 6 18:20:31 UTC 2012


commit afbc0c5427ab635a6679e7fc3aeb29f8d4b89b94
Author: Jerry James <loganjerry at gmail.com>
Date:   Fri Jan 6 11:20:23 2012 -0700

    Rebuild for GCC 4.7.

 cvc3.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cvc3.spec b/cvc3.spec
index 86a3089..08df502 100644
--- a/cvc3.spec
+++ b/cvc3.spec
@@ -1,6 +1,6 @@
 Name:           cvc3
 Version:        2.4.1
-Release:        1%{?dist}.2
+Release:        2%{?dist}
 Summary:        Validity checker of many-sorted first-order formulas with theories
 
 Group:          Applications/Engineering
@@ -145,7 +145,7 @@ sed -i \
  java/src/cvc3/Embedded.java
 
 # Get rid of an unused direct shared library dependency
-sed -i "s|-lcvc3 \$(LD_LIBS)|-nodefaultlibs -lcvc3|" java/Makefile
+sed -i "s|-lcvc3 \$(LD_LIBS)|-Wl,--as-needed -lcvc3 \$(LD_LIBS)|" java/Makefile
 
 %build
 %configure --with-build=optimized --enable-dynamic --enable-java \
@@ -221,6 +221,9 @@ LD_LIBRARY_PATH=`pwd`/lib make regress4
 %{_xemacs_sitelispdir}/*.el
 
 %changelog
+* Fri Jan  6 2012 Jerry James <loganjerry at gmail.com> - 2.4.1-2
+- Rebuild for GCC 4.7
+
 * Thu Oct 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.4.1-1.2
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list