summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-01-16 17:41:06 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-01-16 17:41:06 +0900
commit9ba49e9872ce1da1824716bf8ebfd42b2dfcf3e5 (patch)
treeef7a15f70a0b134222e6b9ac060a3ecedcf7317a
parent9197ce0c776e355acd8eb33b9f0b526771d27bfe (diff)
downloadreadline-tizen_4.0_tv.tar.gz
readline-tizen_4.0_tv.tar.bz2
readline-tizen_4.0_tv.zip
Add relro compile optiontizen_4.0_tvtizen_4.0_base
[Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] not adjust relro compile option [Cause & Measure] add relro compile option at spec file [Checking Method] [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: Id98a632dadcbfc6482700339bce5814ef18200ac Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/readline.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/readline.spec b/packaging/readline.spec
index bf8c516..fec1809 100644
--- a/packaging/readline.spec
+++ b/packaging/readline.spec
@@ -68,7 +68,7 @@ cp %{SOURCE1001} .
fi
rm -f ./test64
CFLAGS="%{optflags} $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g"
- LDFLAGS=""
+ LDFLAGS=" -Wl,-z,relro"
cflags -std=gnu89 CFLAGS
cflags -Wuninitialized CFLAGS
cflags -Wextra CFLAGS