From 902d8529f02be02ccbc129ab8e61db45b9192b06 Mon Sep 17 00:00:00 2001 From: Jiwoong Im Date: Mon, 13 Jun 2016 16:33:30 +0900 Subject: [PATCH] apply ASLR to alarm_session_agent Change-Id: I0ce3ed71052cfff3fedd26dc440698b75e88ea1d Signed-off-by: Jiwoong Im --- alarm-session-agent/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alarm-session-agent/CMakeLists.txt b/alarm-session-agent/CMakeLists.txt index 4b11ca4..7a25ebc 100644 --- a/alarm-session-agent/CMakeLists.txt +++ b/alarm-session-agent/CMakeLists.txt @@ -15,6 +15,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 -pie) INSTALL(TARGETS ${TARGET} DESTINATION bin) -- 2.7.4