SPECS: libstrlcpy.spec - -fPIC appears is compile option, not linking

glen glen at pld-linux.org
Thu Oct 6 13:55:13 CEST 2005


Author: glen                         Date: Thu Oct  6 11:55:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -fPIC appears is compile option, not linking

---- Files affected:
SPECS:
   libstrlcpy.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/libstrlcpy.spec
diff -u SPECS/libstrlcpy.spec:1.9 SPECS/libstrlcpy.spec:1.10
--- SPECS/libstrlcpy.spec:1.9	Thu Oct  6 13:34:44 2005
+++ SPECS/libstrlcpy.spec	Thu Oct  6 13:55:08 2005
@@ -45,9 +45,9 @@
 cp %{SOURCE1} .
 
 %build
-%{__cc} %{rpmcflags} -c strlcpy.c
-%{__cc} %{rpmcflags} -c strlcat.c
-%{__cc} %{rpmldflags} -Wl,-soname,%{soname} -fPIC -shared strlcpy.o strlcat.o -o %{soname}
+%{__cc} %{rpmcflags} -c strlcpy.c -fPIC
+%{__cc} %{rpmcflags} -c strlcat.c -fPIC
+%{__cc} %{rpmldflags} -Wl,-soname,%{soname} -shared strlcpy.o strlcat.o -o %{soname}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/10/06 11:55:08  glen
+- -fPIC appears is compile option, not linking
+
 Revision 1.9  2005/10/06 11:34:44  glen
 - -fPIC for shared library
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libstrlcpy.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list