projects
/
platform
/
core
/
appfw
/
alarm-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ea30d
)
Add RELRO for excutables
12/174112/1
author
Inkyun Kil
<inkyun.kil@samsung.com>
Wed, 28 Mar 2018 07:21:58 +0000
(16:21 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Wed, 28 Mar 2018 07:21:58 +0000
(16:21 +0900)
Change-Id: I6bfae1afeb903b3f6281a6590308ec124b24f553
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
47ec444
..
07d5eed
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-37,7
+37,7
@@
ADD_DEPENDENCIES(${this_target} alarm)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fpie")
TARGET_LINK_LIBRARIES(${this_target} ${pkgs_LDFLAGS})
-TARGET_LINK_LIBRARIES(${this_target} "-lrt -lm -pie")
+TARGET_LINK_LIBRARIES(${this_target} "-lrt -lm -pie
-Wl,-z,relro
")
TARGET_LINK_LIBRARIES(${this_target} alarm)
ADD_SUBDIRECTORY(src)