summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2023-11-09 17:14:36 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2023-11-09 17:14:55 +0900
commit02c540128ae5f70b77e91f0e6b6fd98a96b16a3a (patch)
treeecdb53d31742ded804cc1253b70ca60a5c5b1908
parent7150c934168d88e7e13db56f0dd0d04af5383463 (diff)
downloadlibpcap-tizen_9.0.tar.gz
libpcap-tizen_9.0.tar.bz2
libpcap-tizen_9.0.zip
Change-Id: I603373a0940bda152fb783f525cb68ee325d0ea1
-rw-r--r--packaging/libpcap.spec2
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