summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 09:28:08 +0900
committer박정혁/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <junghyuk.park@samsung.com>2018-07-02 09:50:52 +0900
commitf1d6ce7d685861ba0af6c8a3f5b9502c428b19ad (patch)
treed4c6243eedccf4213f1edea72a8cf7ca726c4a00
parent041f4d16628a729bbb8159b540ab381a8eea4a81 (diff)
downloadcoreclr-submit/tizen_base/20180702.050137.tar.gz
coreclr-submit/tizen_base/20180702.050137.tar.bz2
coreclr-submit/tizen_base/20180702.050137.zip
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 3b9c5ba8db..b8e9cf739a 100644
--- a/src/tools/crossgen/CMakeLists.txt
+++ b/src/tools/crossgen/CMakeLists.txt
@@ -50,6 +50,7 @@ if(CLR_CMAKE_PLATFORM_UNIX)
coreclrpal
palrt
)
+ set_target_properties(crossgen PROPERTIES LINK_FLAGS -pie)
else()
target_link_libraries(crossgen
advapi32