diff options
author | Brad King <brad.king@kitware.com> | 2016-10-24 15:45:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-24 15:45:18 (GMT) |
commit | 4c272adbe1d67af4779f4e72d9562457ed851dac (patch) | |
tree | 544ebe3ddba9707957aca298c07821db6ce2ab6c /Source/kwsys | |
parent | 6205f1797e33c22ab1f9cda8598d02b24497b806 (diff) | |
download | CMake-4c272adbe1d67af4779f4e72d9562457ed851dac.zip CMake-4c272adbe1d67af4779f4e72d9562457ed851dac.tar.gz CMake-4c272adbe1d67af4779f4e72d9562457ed851dac.tar.bz2 |
Android: Link position-independent executables with proper flags
Add `-fPIE -pie` to the default executable link flags when
`CMAKE_POSITION_INDEPENDENT_CODE` is enabled. This is required by
Android 16 and above for executables to run on the device.
Closes: #16382
Diffstat (limited to 'Source/kwsys')
0 files changed, 0 insertions, 0 deletions