Blame SOURCES/coreclr-hardening-flags.patch

f2d766
--- a/src/debug/createdump/CMakeLists.txt
f2d766
+++ b/src/debug/createdump/CMakeLists.txt
f2d766
@@ -38,6 +38,8 @@
f2d766
 
f2d766
 add_dependencies(createdump pal_redefines_file)
f2d766
 
f2d766
+SET_TARGET_PROPERTIES(createdump PROPERTIES LINK_FLAGS -pie)
f2d766
+
f2d766
 target_link_libraries(createdump
f2d766
     createdump_lib
f2d766
     # share the PAL/corguids in the dac module
f2d766
--- a/src/corefx/System.Globalization.Native/CMakeLists.txt
f2d766
+++ b/src/corefx/System.Globalization.Native/CMakeLists.txt
f2d766
@@ -71,6 +71,8 @@
f2d766
 set_target_properties(System.Globalization.Native_Static PROPERTIES PREFIX "")
f2d766
 set_target_properties(System.Globalization.Native_Static PROPERTIES OUTPUT_NAME System.Globalization.Native)
f2d766
 
f2d766
+set_target_properties(System.Globalization.Native PROPERTIES LINK_FLAGS -pie)
f2d766
+
f2d766
 if(NOT CLR_CMAKE_PLATFORM_DARWIN)
f2d766
     if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD AND NOT CMAKE_SYSTEM_NAME STREQUAL NetBSD)
f2d766
         target_link_libraries(System.Globalization.Native