summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 09:28:08 +0900
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 15:49:14 +0300
commita94545a6e2d6ae35198b6854e6b342e534279203 (patch)
tree6d86c4fd9a7462bd7a3e3d473af64c45f9aad896 /src
parent4e0e7211cf15c139b7ff0cec2324cc9c34f0764e (diff)
downloadcoreclr-a94545a6e2d6ae35198b6854e6b342e534279203.tar.gz
coreclr-a94545a6e2d6ae35198b6854e6b342e534279203.tar.bz2
coreclr-a94545a6e2d6ae35198b6854e6b342e534279203.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
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 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