Blame SOURCES/kde-runtime-4.10.5-kdesu-fullrelro.patch

584d1d
diff --git a/kdesu/kdesud/CMakeLists.txt b/kdesu/kdesud/CMakeLists.txt
584d1d
index ca192bc..52e7636 100644
584d1d
--- a/kdesu/kdesud/CMakeLists.txt
584d1d
+++ b/kdesu/kdesud/CMakeLists.txt
584d1d
@@ -3,7 +3,6 @@ check_function_exists(getpeereucred HAVE_GETPEERUCRED) # solaris style
584d1d
 
584d1d
 configure_file (config-kdesud.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdesud.h )
584d1d
 
584d1d
-
584d1d
 set(kdesud_SRCS
584d1d
    kdesud.cpp
584d1d
    repo.cpp
584d1d
@@ -13,6 +12,8 @@ set(kdesud_SRCS
584d1d
 
584d1d
 kde4_add_executable(kdesud NOGUI ${kdesud_SRCS})
584d1d
 
584d1d
+SET_TARGET_PROPERTIES(kdesud PROPERTIES LINK_FLAGS "-Wl,-z,relro,-z,now")
584d1d
+
584d1d
 target_link_libraries(kdesud ${KDE4_KDESU_LIBS} ${KDE4_KDECORE_LIBS} ${X11_LIBRARIES})
584d1d
 
584d1d
 if(KDE4_ENABLE_FPIE)