From: DongHun Kwak Date: Mon, 15 Jan 2018 10:49:10 +0000 (+0900) Subject: Adjust RELRO option X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F167105%2F3;p=product%2Fupstream%2Fcoreutils.git Adjust RELRO option [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] not adjust relro option [Cause & Measure] fix spec file [Checking Method] [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I1ee4424e1e1650162c30d5fff48c049d4a2d9f16 Signed-off-by: DongHun Kwak --- diff --git a/packaging/coreutils.spec b/packaging/coreutils.spec index e558488..c39454b 100644 --- a/packaging/coreutils.spec +++ b/packaging/coreutils.spec @@ -57,8 +57,8 @@ su - run a command with substitute user and group ID %build cp %{SOURCE1001} . -export CFLAGS=" -fpie" -export LDFLAGS=" -pie" +export CFLAGS+=" -fPIE" +export LDFLAGS+=" -Wl,-z,relro -pie" cp build-aux/config.sub ../mktemp-1.5 cp build-aux/config.guess ../mktemp-1.5