summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-01-29 15:26:30 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-01-29 15:26:30 +0900
commit0f2ff87b2778639fa5360a4db4bf5609d5fee00a (patch)
treeef7a15f70a0b134222e6b9ac060a3ecedcf7317a /packaging
parent9197ce0c776e355acd8eb33b9f0b526771d27bfe (diff)
downloadreadline-tizen_5.0_base.tar.gz
readline-tizen_5.0_base.tar.bz2
readline-tizen_5.0_base.zip
[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: If0fdad6df8ade95ee6f073da6ed52bb13e591e66 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging')
-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