From 05ea376e3cc32ace5f6a7f78a50e140d51ea49f7 Mon Sep 17 00:00:00 2001 From: Hyungju Lee Date: Mon, 2 Jul 2018 09:28:08 +0900 Subject: [Tizen] Add -pie to linker option There have been no -pie linker option. This patch adds -pie linker option into crossgen(for tizen) This originates from 0024-Add-pie-to-linker-option.patch --- src/tools/crossgen/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/crossgen/CMakeLists.txt') diff --git a/src/tools/crossgen/CMakeLists.txt b/src/tools/crossgen/CMakeLists.txt index 410f82d929..6b96f83998 100644 --- a/src/tools/crossgen/CMakeLists.txt +++ b/src/tools/crossgen/CMakeLists.txt @@ -51,6 +51,7 @@ if(CLR_CMAKE_PLATFORM_UNIX) coreclrpal palrt ) + set_target_properties(crossgen PROPERTIES LINK_FLAGS -pie) else() target_link_libraries(crossgen advapi32 -- cgit v1.2.3