diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2018-03-22 14:32:53 +0900 |
---|---|---|
committer | taesub kim <taesub.kim@samsung.com> | 2018-03-22 14:48:26 +0900 |
commit | a61e689a611b3f90e03940ca66d03fb1c92b3ea2 (patch) | |
tree | 367529af3a36252725221edfaf2c7f42171b0ee8 | |
parent | 09a0a046c9c1bd6df1834f4f4804753bd0788785 (diff) | |
download | tcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.tar.gz tcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.tar.bz2 tcpdump-a61e689a611b3f90e03940ca66d03fb1c92b3ea2.zip |
Change-Id: I675ce6dbc5f34403b8acb058f5db60bdff22d059
-rw-r--r-- | packaging/tcpdump.spec | 6 |
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 |