projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1b92b
)
Add RELRO for excutables
33/174733/1
author
Inkyun Kil
<inkyun.kil@samsung.com>
Wed, 28 Mar 2018 07:33:10 +0000
(16:33 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Wed, 4 Apr 2018 01:35:44 +0000
(10:35 +0900)
Change-Id: Ia505218ec895e499e8b0813eb4a4dfc7c102c514
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
daemon/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/daemon/CMakeLists.txt
b/daemon/CMakeLists.txt
index
3e36548
..
ec7f392
100644
(file)
--- a/
daemon/CMakeLists.txt
+++ b/
daemon/CMakeLists.txt
@@
-27,6
+27,6
@@
SET_TARGET_PROPERTIES(${TARGET} PROPERTIES
LINK_FLAGS "-fPIE"
COMPILE_FLAGS "${DAEMON_CFLAGS}"
)
-TARGET_LINK_LIBRARIES(${TARGET} ${PKGS_LDFLAGS} ${D_PKGS_LDFLAGS} -ldl)
+TARGET_LINK_LIBRARIES(${TARGET} ${PKGS_LDFLAGS} ${D_PKGS_LDFLAGS} -ldl
"-Wl,-z,relro"
)
INSTALL(TARGETS ${TARGET} DESTINATION sbin)