Add relro flags 92/166892/1 accepted/tizen_4.0_unified tizen_4.0 tizen_4.0_tv accepted/tizen/4.0/base/20180504.063419 accepted/tizen/4.0/unified/20180131.050530 submit/tizen_4.0/20180119.112931 submit/tizen_4.0_base/20180419.073748 submit/tizen_4.0_base/20180502.014023
authorIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Mon, 27 Nov 2017 09:37:21 +0000 (10:37 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Fri, 12 Jan 2018 09:05:05 +0000 (09:05 +0000)
Change-Id: I403d6dfeeb66e71e7f7ca84137e6bfa00360bf96
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
(cherry picked from commit 04d53357ea5b8c7e84c4c9cb23f35789cb5d8386)

packaging/krb5.spec

index e8313d8..0260cab 100644 (file)
@@ -67,6 +67,7 @@ rm -f src/lib/krb5/krb/deltat.c
 cd src
 %{?asan:LDFLAGS+=" -ldl -pthread "}
 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fgnu89-inline -Wl,-pie -pie" \
+LDFLAGS="-z relro" \
 ./configure \
        --host=%{_host} --build=%{_build} \
        --prefix=/usr/lib/mit \