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

Don't generate debugging symbols in release builds #452

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

Zylann
Copy link
Collaborator

@Zylann Zylann commented Sep 4, 2020

-g is a compiler option that adds debugging information, which can be very heavy in our case due to the many classes we generate. This is fine for debugging, but in release it should not be present.
This PR removes this flag from target=release builds so it's only used with target=debug.

Should fix #300

@Calinou Calinou added the bug This has been identified as a bug label Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux binaries are too big
2 participants