summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 09:28:08 +0900
committerGleb Balykov <g.balykov@samsung.com>2020-03-25 15:29:41 +0300
commit509498dee104c8552b869ca05a85846c918ac041 (patch)
treeef232d0369be2644a4447ecde65a804516713be5
parent20beeabaa3ee777f2a9f113d8a59b569b57d6b20 (diff)
downloadcoreclr-509498dee104c8552b869ca05a85846c918ac041.tar.gz
coreclr-509498dee104c8552b869ca05a85846c918ac041.tar.bz2
coreclr-509498dee104c8552b869ca05a85846c918ac041.zip
[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
-rw-r--r--src/tools/crossgen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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