summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 00:28:08 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2020-03-25 12:29:41 (GMT)
commit509498dee104c8552b869ca05a85846c918ac041 (patch)
treeef232d0369be2644a4447ecde65a804516713be5 /src
parent20beeabaa3ee777f2a9f113d8a59b569b57d6b20 (diff)
downloadcoreclr-509498dee104c8552b869ca05a85846c918ac041.zip
coreclr-509498dee104c8552b869ca05a85846c918ac041.tar.gz
coreclr-509498dee104c8552b869ca05a85846c918ac041.tar.bz2
[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
Diffstat (limited to 'src')
-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 410f82d..6b96f83 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