summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2018-03-22 14:32:53 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2018-03-22 14:33:07 +0900
commit122edb8adc84fb4d00235523acf93dadef6363e9 (patch)
treecfd423366a52e87355d13b9ac2b7a42def1f5c6b
parent7ae10c9b27d076d92da8eed75015221c581ba956 (diff)
downloadtcpdump-122edb8adc84fb4d00235523acf93dadef6363e9.tar.gz
tcpdump-122edb8adc84fb4d00235523acf93dadef6363e9.tar.bz2
tcpdump-122edb8adc84fb4d00235523acf93dadef6363e9.zip
Change-Id: I675ce6dbc5f34403b8acb058f5db60bdff22d059
-rw-r--r--packaging/tcpdump.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/tcpdump.spec b/packaging/tcpdump.spec
index 90dcb9b..f101de0 100644
--- a/packaging/tcpdump.spec
+++ b/packaging/tcpdump.spec
@@ -1,6 +1,6 @@
Name: tcpdump
Version: 4.3.0
-Release: 0
+Release: 1
License: BSD-3-Clause
Summary: A Packet Sniffer
Url: http://www.tcpdump.org/
@@ -20,7 +20,9 @@ ethernet. It can be used to debug specific network problems.
cp %{SOURCE1001} .
%build
-export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing"
+export CFLAGS="%{optflags} -Wall -DGUESS_TSO -fstack-protector -fno-strict-aliasing -fPIE"
+export LDFLAGS="-pie"
+
%configure \
--enable-ipv6
make