diff options
-rw-r--r-- | packaging/libpcap.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/libpcap.spec b/packaging/libpcap.spec index 5f171c1..3d5a8a1 100644 --- a/packaging/libpcap.spec +++ b/packaging/libpcap.spec @@ -39,6 +39,8 @@ cp %{SOURCE1001} . pic="pic" autoreconf -fiv export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic" +export LDFLAGS="${LDFLAGS} -Wl,-z,relro" + %configure \ --enable-ipv6 make %{?_smp_mflags} all shared |