SPECS: libpfring.spec - pass optflags, show some ugly warnings - f...
qboosh
qboosh at pld-linux.org
Sun Jun 17 12:22:04 CEST 2007
Author: qboosh Date: Sun Jun 17 10:22:04 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pass optflags, show some ugly warnings
- fixed shared library (-fPIC, .so symlink instead of copy)
---- Files affected:
SPECS:
libpfring.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/libpfring.spec
diff -u SPECS/libpfring.spec:1.4 SPECS/libpfring.spec:1.5
--- SPECS/libpfring.spec:1.4 Sun Jun 17 12:16:29 2007
+++ SPECS/libpfring.spec Sun Jun 17 12:21:59 2007
@@ -50,18 +50,20 @@
%build
%{__make} \
- CC="%{__cc}"
+ CC="%{__cc} %{rpmcflags} -fPIC -Wall"
%{__cc} -shared -Wl,-soname -Wl,libpfring.so.0.9.4 %{rpmldflags} -o libpfring.so.0.9.4 *.o
-ln -s libpfring.so.0.9.4 libpfring.so
+%{__make} clean
+%{__make} \
+ CC="%{__cc} %{rpmcflags} -Wall"
%install
rm -rf $RPM_BUILD_ROOT
install -D libpfring.a $RPM_BUILD_ROOT%{_libdir}/libpfring.a
install -D libpfring.so.0.9.4 $RPM_BUILD_ROOT%{_libdir}/libpfring.so.0.9.4
-install -D libpfring.so $RPM_BUILD_ROOT%{_libdir}/libpfring.so
+ln -sf libpfring.so.0.9.4 $RPM_BUILD_ROOT%{_libdir}/libpfring.so
install -D pfring.h $RPM_BUILD_ROOT%{_includedir}/pfring.h
install -D ring.h $RPM_BUILD_ROOT%{_includedir}/ring.h
@@ -90,6 +92,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/06/17 10:21:59 qboosh
+- pass optflags, show some ugly warnings
+- fixed shared library (-fPIC, .so symlink instead of copy)
+
Revision 1.4 2007/06/17 10:16:29 qboosh
- pl, more verbose files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libpfring.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list