diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-01-14 22:17:21 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-01-14 22:17:21 +0800 |
| commit | c18adadd9186af0897a49e99c290b32553e529aa (patch) | |
| tree | 9c96f14e7962900c680c3d1560b0ec3f715aa5b3 /lang/python/python-simplejson | |
| parent | b36f27716f63c04d654e46dd115d5195f0c7cbba (diff) | |
golang: Add support for ASLR/PIE for Go packages
This adds support to compile position-independent executables for
packages that use golang-package.mk.
Go packages will have PIE enabled if:
* Go supports PIE on the target platform;
* CONFIG_PKG_ASLR_PIE is selected; and
* PKG_ASLR_PIE (for the package) is not set to 0
Go 1.13 supports PIE for x86 and arm targets; mips support is in
progress[1].
[1]: https://github.com/golang/go/issues/21222#issuecomment-542064462
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-simplejson')
0 files changed, 0 insertions, 0 deletions
