Change-Id: I73350cc6b0c8a44441f41bf5020e6cf7e98c3e59
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
## Executable ##
ADD_EXECUTABLE(sticker-server ${SRCS})
TARGET_LINK_LIBRARIES(sticker-server ${pkgs_LDFLAGS})
## Install library files ##
-INSTALL(TARGETS sticker-server DESTINATION bin)
\ No newline at end of file
+INSTALL(TARGETS sticker-server DESTINATION bin)