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

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