From: Igor Kotrasinski Date: Mon, 27 Nov 2017 09:37:21 +0000 (+0100) Subject: Add relro flags X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adcba235028eb9276643517e9768bdaa485b2bbc;p=platform%2Fupstream%2Fkrb5.git Add relro flags Change-Id: I403d6dfeeb66e71e7f7ca84137e6bfa00360bf96 Signed-off-by: Igor Kotrasinski --- diff --git a/packaging/krb5.spec b/packaging/krb5.spec index e8313d8..0260cab 100644 --- a/packaging/krb5.spec +++ b/packaging/krb5.spec @@ -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 \