Blob Blame History Raw
diff --git a/src/debug/createdump/CMakeLists.txt b/src/debug/createdump/CMakeLists.txt
--- a/src/debug/createdump/CMakeLists.txt
+++ b/src/debug/createdump/CMakeLists.txt
@@ -42,6 +42,8 @@
 
 add_dependencies(createdump pal_redefines_file)
 
+SET_TARGET_PROPERTIES(createdump PROPERTIES LINK_FLAGS -pie)
+
 target_link_libraries(createdump
     createdump_lib
     # share the PAL/corguids in the dac module