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

[3.5] trim build path #14816

Merged
merged 1 commit into from Nov 21, 2022
Merged

[3.5] trim build path #14816

merged 1 commit into from Nov 21, 2022

Conversation

serathius
Copy link
Member

@serathius serathius commented Nov 21, 2022

Trimming GOPATH etcd binary for next release.
Backports #13552

This changes the builds to always add -trimpath which removes specific
build time paths from the binary (like current directories etc).

Improves build reproducability to make the final binary independent from
the specific build path.

Lastly, when stripping debug symbols, also add -w to strip DWARF symbols
as well which aren't needed in that case either.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
@serathius serathius changed the title release: build with consistent paths [3.5] trim build path Nov 21, 2022
@serathius serathius merged commit d0424a7 into etcd-io:release-3.5 Nov 21, 2022
@serathius serathius deleted the trim-v3.5 branch June 15, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants