GNOME Bugzilla – Bug 747157
Debug symbols or not depending on whether you're making a release build
Last modified: 2018-11-03 10:18:54 UTC
It would be nice if cerbero built everything with debug symbols and appropriate debug stuff enabled for developers but then could create a release build where debug symbols are stripped and costly debug stuff is disabled.
One way to do that could be to have a post-build/pre-package strip step. Only downside ... won't work for static objects for which it needs to be done either at compile time (don't include debug symbols) or at link time. What is the goal here ? Smaller "release" tarballs ?
For Android and iOS the debug symbols are (or can be) stripped when the application is built. Android at least does that automatically by default. For the other platforms we could move the debug symbols into external files, I assume Windows and OSX have some feature for that too.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/12.