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

Revert Go trimpath #7665

Merged
merged 2 commits into from
Sep 9, 2020
Merged

Revert Go trimpath #7665

merged 2 commits into from
Sep 9, 2020

Conversation

aschmahmann
Copy link
Contributor

No description provided.

Comment on lines 13 to +15
# Override so we can combine with the user's go flags.
override GOFLAGS += -trimpath
# Try to make building as reproducible as possible by stripping the go path.
override GOFLAGS += "-asmflags=all='-trimpath=$(GOPATH)'" "-gcflags=all='-trimpath=$(GOPATH)'"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also just remove these 3 lines entirely and not worry about reproducible builds that aren't using our dist build script from https://github.com/ipfs/distributions. At some point we could add in some make flag like make build-reproducible that uses the dist build script.

However, leaving this in and keeping behavior the same seems reasonable for now.

@aschmahmann aschmahmann merged commit 48b2f12 into master Sep 9, 2020
@aschmahmann aschmahmann mentioned this pull request Sep 10, 2020
72 tasks
@hacdias hacdias deleted the revert/go-trimpath branch May 9, 2023 11:00
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

Successfully merging this pull request may close these issues.

2 participants