diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-06-18 15:34:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-19 12:12:45 (GMT) |
commit | 9e99a95c7db5be8c6b979b0170ab4cf78bb32307 (patch) | |
tree | 07536d3e2c917ed35f39bfaa45ab1eff0e886b47 /Help/policy | |
parent | f3e9a6ff62f6f58cd661dd447c22a01c50f6f4ad (diff) | |
download | CMake-9e99a95c7db5be8c6b979b0170ab4cf78bb32307.zip CMake-9e99a95c7db5be8c6b979b0170ab4cf78bb32307.tar.gz CMake-9e99a95c7db5be8c6b979b0170ab4cf78bb32307.tar.bz2 |
Android: ensure PIE behavior is consistent regardless CMP0083 policy
In commit c4b4d8b3a6 (POSITION_INDEPENDENT_CODE: Manage link flags for
executables, 2018-10-02, v3.14.0-rc1~395^2) we accidentally removed our
Android-specific logic for PIE under the CMP0083 OLD behavior. Restore
it and also implement Android-specific logic for CMP0083 NEW behavior.
Fixes: #19393
Diffstat (limited to 'Help/policy')
-rw-r--r-- | Help/policy/CMP0083.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/policy/CMP0083.rst b/Help/policy/CMP0083.rst index 32acf1f..e0b09cf 100644 --- a/Help/policy/CMP0083.rst +++ b/Help/policy/CMP0083.rst @@ -28,6 +28,12 @@ This policy was introduced in CMake version 3.14. Use the Unlike most policies, CMake version |release| does not warn when this policy is not set and simply uses ``OLD`` behavior. +.. Note:: + + Android platform has a special handling of ``PIE`` so it is not required + to use the :module:`CheckPIESupported` module to ensure flags are passed to + the linker. + .. include:: DEPRECATED.txt Examples |