Apply Partial RELRO 31/301131/1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.232035 accepted/tizen/unified/20231115.024839 accepted/tizen/unified/dev/20240620.010840 tizen_9.0_m2_release
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 9 Nov 2023 08:14:36 +0000 (17:14 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 9 Nov 2023 08:14:55 +0000 (17:14 +0900)
Change-Id: I603373a0940bda152fb783f525cb68ee325d0ea1

packaging/libpcap.spec

index 5f171c1..3d5a8a1 100644 (file)
@@ -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