Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding -buildmode=pie -trimpath to build flags #4

Open
udf2457 opened this issue Sep 4, 2024 · 1 comment
Open

Consider adding -buildmode=pie -trimpath to build flags #4

udf2457 opened this issue Sep 4, 2024 · 1 comment

Comments

@udf2457
Copy link

udf2457 commented Sep 4, 2024

As per title really...

Consider adding -buildmode=pie and -trimpath to your build flags.

@benjojo
Copy link
Collaborator

benjojo commented Sep 4, 2024

trimpath would be nice to get closer to a reproduce-able build. I'm not entirely sure of a obvious benefit to setting it to PIE

Do you have a direct motivation to having the binary be a PIE one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants