summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2018-03-22 14:32:53 +0900
committertaesub kim <taesub.kim@samsung.com>2018-03-22 14:48:26 +0900
commita61e689a611b3f90e03940ca66d03fb1c92b3ea2 (patch)
tree367529af3a36252725221edfaf2c7f42171b0ee8
parent09a0a046c9c1bd6df1834f4f4804753bd0788785 (diff)
downloadtcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.tar.gz
tcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.tar.bz2
tcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.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 8093dc6..80361a5 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