[CVector/el6/master] Use -rdynamic instead of -shared to fix el5 build issue

Takanori MATSUURA tmatsuu at fedoraproject.org
Wed Sep 1 06:27:31 UTC 2010


commit c82358340b1839eeac65900cfd56f17b0e4e0d85
Author: Takanori MATSUURA <t.matsuu at gmail.com>
Date:   Wed Sep 1 15:27:32 2010 +0900

    Use -rdynamic instead of -shared to fix el5 build issue

 CVector.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/CVector.spec b/CVector.spec
index 4e5a3f5..3f6bb40 100644
--- a/CVector.spec
+++ b/CVector.spec
@@ -3,7 +3,7 @@
 
 Name:           CVector
 Version:        1.0.3
-Release:        %release_func 6
+Release:        %release_func 7
 Summary:        ANSI C API for Dynamic Arrays
 
 Group:          System Environment/Libraries
@@ -16,6 +16,8 @@ Source0:        http://downloads.sourceforge.net/project/cvector/cvector/CVector
 %endif
 # to fix libdir for lib64 architecture
 Patch0:         CVector-1.0.3-lib64.patch
+# to generate PIC
+Patch1:         CVector-1.0.3-dynamic.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libtool
@@ -69,6 +71,9 @@ rm -rf %{buildroot}
 %{_libdir}/libCVector.so
 
 %changelog
+* Tue Sep  1 2010 Takanori MATSUURA <t.matsuu at gmail.com> - 1.0.3-7.5Aug09
+- use "-rdynamic" instead of "-shared"
+
 * Tue Sep  1 2010 Takanori MATSUURA <t.matsuu at gmail.com> - 1.0.3-6.5Aug09
 - initial import for Fedora (#545046)
 


More information about the scm-commits mailing list