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

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