[packages/mysqlsniffer] compile PIC

glen glen at pld-linux.org
Fri Aug 8 21:38:29 CEST 2014


commit cea55ee5d82457c2bd48a355d8631fc0d61dad00
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 8 22:38:27 2014 +0300

    compile PIC

 mysqlsniffer.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mysqlsniffer.spec b/mysqlsniffer.spec
index a2788b9..66854c8 100644
--- a/mysqlsniffer.spec
+++ b/mysqlsniffer.spec
@@ -2,7 +2,7 @@ Summary:	Dumps packets that are sent or received over a network interface
 Summary(pl.UTF-8):	Zrzucanie pakietów wysyłanych lub otrzymywanych po interfejsie sieciowym
 Name:		mysqlsniffer
 Version:	1.2
-Release:	4
+Release:	5
 License:	GPL
 Group:		Applications/Networking
 Source0:	http://hackmysql.com/code/%{name}.tgz
@@ -25,7 +25,7 @@ ruch MySQL-a w sieci TCP/IP.
 %setup -q -c
 
 %build
-%{__cc} %{rpmcflags} -Wall -c *.c
+%{__cc} %{rpmcflags} -Wall -fPIC -c *.c
 %{__cc} %{rpmcflags} %{rpmldflags} -Wall -o mysqlsniffer *.o -lpcap
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysqlsniffer.git/commitdiff/cea55ee5d82457c2bd48a355d8631fc0d61dad00



More information about the pld-cvs-commit mailing list