Skip to content

Use -buildmode=pie (Position Independent Code/ Executable) #30

@jcscottiii

Description

@jcscottiii

Go v1.6 brought about the introduction of -buildmode=pie. However, it only is supported by some platforms including: linux/386, linux/amd64, linux/arm, linux/arm64, and linux/ppc64le. Since it is not supported for all, I suspect that is why it is not default. However, it would be nice to support a way to trigger this when building.

https://golang.org/doc/go1.6#compiler

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA new feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions