Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Rebuild standard library when building with -a and -f #649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

profer
Copy link

@profer profer commented Oct 18, 2016

This is a workaround for #328 which prevents static builds when target and host have the same GOOS and GOARCH. It does this by considering all packages, including the standard library, as stale when running gb build -a -f. Previously the -f flag ommitted the standard library.

This is a workaround for constabulary#328 which prevents static builds when target and host have the same GOOS and GOARCH. It does this by considering all packages, including the standard library, as stale when running `gb build -a -f`. Previously the `-f` flag ommitted the standard library.
@davecheney
Copy link
Contributor

Not LGTM. We shouldn't need a ForceAll, Force should just mark any standlib packages stale during package resolution.

@davecheney
Copy link
Contributor

Hello,

I've fixed the build for the testing/testmain changes in Go 1.8, #657. Please rebase your change and push again.

Sorry for the delay, I've recently changed jobs.

Thanks

Dave

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

Successfully merging this pull request may close these issues.

2 participants