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

Fix release builds not removing debug symbols #1918

Closed
wants to merge 2 commits into from

Conversation

Jacalz
Copy link
Member

@Jacalz Jacalz commented Feb 7, 2021

Description:

I noticed on my linux computer that packaging and adding --release has no effect.
This change tidies up the code a bit and makes sure that the -ldflags call get the correct information.

I guess we might want this change for 2.0.1 as well, but that might not be possible to backport as is due to the changes after the cli rework.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

@Jacalz Jacalz changed the title Fix release builds removing debug symbols Fix release builds not removing debug symbols Feb 7, 2021
I noticed on my linux computer that packaging and adding `--release` has no effect.
This change makes sure that the `-ldflags` call get the correct information.
@Jacalz
Copy link
Member Author

Jacalz commented Feb 7, 2021

This seems to have been caused by #1910. Will close this. Will have to punt the cleanups to some other PR.

@Jacalz Jacalz closed this Feb 7, 2021
@Jacalz Jacalz deleted the fix-release-build branch February 7, 2021 18:22
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.

None yet

1 participant