Skip to content

Strip debug info from Linux and Windows release builds#658

Open
DeckerSU wants to merge 1 commit intodevfrom
patch-remove-debug-info-from-release
Open

Strip debug info from Linux and Windows release builds#658
DeckerSU wants to merge 1 commit intodevfrom
patch-remove-debug-info-from-release

Conversation

@DeckerSU
Copy link

Remove the -g debugging flag from all release build CFLAGS on both Linux and Windows (mingw32). Release builds now compile with -O2 only, preventing debug symbols from being embedded in production binaries. This change reduces executable size and eliminates accidental exposure of debug information.

Remove the -g debugging flag from all release build CFLAGS on both Linux and Windows (mingw32). Release builds now compile with -O2 only, preventing debug symbols from being embedded in production binaries. This change reduces executable size and eliminates accidental exposure of debug information.
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.

1 participant