File cdrkit-pie.diff of Package wodim

Index: cdrkit-1.1.11/wodim/CMakeLists.txt
===================================================================
--- cdrkit-1.1.11.orig/wodim/CMakeLists.txt
+++ cdrkit-1.1.11/wodim/CMakeLists.txt
@@ -30,6 +30,7 @@ LIST(APPEND EXTRA_LIBS wodimstuff)
 
 TARGET_LINK_LIBRARIES(wodim ${EXTRA_LIBS}  edc)
 SET_TARGET_PROPERTIES(wodim PROPERTIES SKIP_BUILD_RPATH TRUE)
+SET_TARGET_PROPERTIES(wodim PROPERTIES POSITION_INDEPENDENT_CODE TRUE LINK_FLAGS -pie)
 
 INSTALL(TARGETS wodim DESTINATION bin)
 INSTALL(FILES 
openSUSE Build Service is sponsored by