summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-07-02 00:28:08 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commita94545a6e2d6ae35198b6854e6b342e534279203 (patch)
tree6d86c4fd9a7462bd7a3e3d473af64c45f9aad896
parent4e0e7211cf15c139b7ff0cec2324cc9c34f0764e (diff)
downloadcoreclr-a94545a6e2d6ae35198b6854e6b342e534279203.zip
coreclr-a94545a6e2d6ae35198b6854e6b342e534279203.tar.gz
coreclr-a94545a6e2d6ae35198b6854e6b342e534279203.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
-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 3b9c5ba..b8e9cf7 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