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

Enable -g only for DEBUG_LEVEL>=1 #12530

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

Conversation

max-509
Copy link

@max-509 max-509 commented Apr 12, 2024

When I build a project via make with DEBUG_LEVEL=0, debug symbols are added to the shared library and object files, and because of this it takes up 30 times more disk space for librocksdb.so (422MB vs 13,8MB). I suggest using the -g flag only for DEBUG_LEVEL>=1.

@max-509 max-509 changed the title -g enabled only for DEBUG_LEVEL>=1 Enable -g only for DEBUG_LEVEL>=1 Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants