Fix relro, now and PIE for host and libraries (#685)
authorJan Vorlicek <janvorli@microsoft.com>
Tue, 10 Dec 2019 22:48:07 +0000 (23:48 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 22:48:07 +0000 (23:48 +0100)
commit51470b8c4b064e9a3e3589881bf4536005e89ae6
treeaf0edf232e68d8b0a45a425552a1a6bfe3fc87ea
parenta1283300f0c2051eb7138a841e9c38f5af4a193c
Fix relro, now and PIE for host and libraries (#685)

* Fix relro, now and PIE for host and libraries

The former core-setup and corefx native code build was missing the
-z,relro and -z,now options and also the position independent related
settings.

* Reflect PR feedback
src/installer/corehost/cli/common.cmake
src/installer/corehost/cli/exe.cmake
src/installer/corehost/cli/test_fx_ver/CMakeLists.txt
src/installer/settings.cmake
src/libraries/Native/Unix/CMakeLists.txt