commit | b0eafa21b9ac578e279198b8650fafbee6b83dc3 | [log] [tgz] |
---|---|---|
author | Joshua J. Drake <android-open-source@qoop.org> | Thu Dec 12 00:34:29 2013 -0600 |
committer | Ying Wang <wangying@google.com> | Thu Dec 12 17:36:53 2013 -0800 |
tree | e6adf66d98f7920fac3a5e281695f2c93f1ccebc | |
parent | 5859f105fad3ce1ba76fb252c4c5b8fe357a3ce4 [diff] |
enable PIE for dynamically linked Linux host executables Compile all host programs for Android with -fPIE and -pie. This enables PIE (Position Independent Executables), which helps protect these applications from exploitation due to memory management bugs. Note: PIE *static* executables are not supported at this time. darwin and windows are also not supported. Change-Id: I67c1be297711ea23064c349f97ebd02eef3eff09