From 96795e163c8324b7ed1db3fe10a3ca7508d70c5a Mon Sep 17 00:00:00 2001 From: Woongsuk Cho Date: Thu, 9 May 2019 18:02:22 +0900 Subject: [PATCH] [Tizen] separate PIC and PIE to fix x86_64 build error --- src/coreclr/debug/createdump/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/debug/createdump/CMakeLists.txt b/src/coreclr/debug/createdump/CMakeLists.txt index c108586ca05..db2ade0eaab 100644 --- a/src/coreclr/debug/createdump/CMakeLists.txt +++ b/src/coreclr/debug/createdump/CMakeLists.txt @@ -96,6 +96,8 @@ endif(CLR_CMAKE_HOST_OSX) createdumppal.cpp ) + set_property(TARGET createdump PROPERTY COMPILE_FLAGS "-fPIE") + target_link_libraries(createdump PRIVATE createdump_static -- 2.34.1