Blob Blame History Raw
diff -up kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt.kdesud_relro kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt
--- kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt.kdesud_relro	2013-06-28 12:12:33.252806331 -0500
+++ kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt	2013-12-13 09:27:16.229035093 -0600
@@ -15,6 +15,8 @@ kde4_add_executable(kdesud NOGUI ${kdesu
 
 target_link_libraries(kdesud ${KDE4_KDESU_LIBS} ${KDE4_KDECORE_LIBS} ${X11_LIBRARIES})
 
+set_target_properties(kdesud PROPERTIES LINK_FLAGS "-Wl,-z,relro,-z,now")
+
 if(KDE4_ENABLE_FPIE)
     macro_add_compile_flags(kdesud ${KDE4_CXX_FPIE_FLAGS})
     macro_add_link_flags(kdesud ${KDE4_PIE_LDFLAGS})