Skip to content

remove release flags - #120

Merged
iamantoinev merged 2 commits into
mainfrom
no-release
Sep 19, 2025
Merged

iamantoinev merged 2 commits into
mainfrom
no-release

Conversation

@iamantoinev

Copy link
Copy Markdown
Contributor

Remove release and optimization flags, as they make the stack booooh

Copilot AI review requested due to automatic review settings September 19, 2025 13:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes release and optimization flags from the build configuration to simplify debugging by making stack traces more readable. The change forces all builds to use debug settings with -O0 -g flags.

  • Removes conditional DEBUG flag handling in config.mk
  • Consolidates CFLAGS to always use debug optimization level
  • Simplifies debug target in Makefile to directly use existing binary

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
config.mk Removes release/debug flag conditionals and hardcodes debug flags (-O0 -g) into CFLAGS_COMMON
Makefile Simplifies debug target to use existing binary instead of rebuilding with DEBUG=1

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread config.mk Outdated
Comment thread Makefile
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Antoine Verin <24255551+antoineverin@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@iamantoinev
iamantoinev enabled auto-merge (squash) September 19, 2025 13:12
@iamantoinev
iamantoinev merged commit aa2a973 into main Sep 19, 2025
4 checks passed
@iamantoinev
iamantoinev deleted the no-release branch September 19, 2025 13:14
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.

3 participants