summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 09:28:08 +0900
committerAlexander Soldatov/AI Ecosystem Lab /SRR/Staff Engineer/삼성전자 <soldatov.a@samsung.com>2019-02-14 20:24:48 +0300
commit05ea376e3cc32ace5f6a7f78a50e140d51ea49f7 (patch)
treec94a728acd1a2b0bc4dcdcc5b0a9749a10eff221
parent4f957286fae800122add9156e418969ce2f5abc8 (diff)
downloadcoreclr-05ea376e3cc32ace5f6a7f78a50e140d51ea49f7.tar.gz
coreclr-05ea376e3cc32ace5f6a7f78a50e140d51ea49f7.tar.bz2
coreclr-05ea376e3cc32ace5f6a7f78a50e140d51ea49f7.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