From: Myungki Lee Date: Wed, 9 Aug 2017 10:06:35 +0000 (+0900) Subject: Apply ASLR to update-mime-database X-Git-Tag: accepted/tizen/4.0/unified/20170828.221835^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fupstream%2Fshared-mime-info.git Apply ASLR to update-mime-database Change-Id: I21c5ea4eb0cee6016ae88bd96207e677d9b0fae8 Signed-off-by: Myungki Lee --- diff --git a/packaging/shared-mime-info.spec b/packaging/shared-mime-info.spec index 5399835..2cbb887 100644 --- a/packaging/shared-mime-info.spec +++ b/packaging/shared-mime-info.spec @@ -43,7 +43,9 @@ cp %{SOURCE1001} . %build export CFLAGS=`echo $RPM_OPT_FLAGS |sed -e 's/atom/i686/g'` autoreconf -ivf -%configure +%configure \ + CFLAGS="$CFLAGS -fPIE" \ + LDFLAGS="$LDFLAGS -pie" make V=1 %install