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

build: Switch default meson buildtype to 'debugoptimized' #800

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

tbzatek
Copy link
Contributor

@tbzatek tbzatek commented Mar 20, 2024

The meson 'debug' buildtype defaults to '-O0 -g' which misses some important compiler warnings (as of gcc-13). While there's no universal solution, the 'debugoptimized' buildtype supplies '-O2 -g' that appears to be a reasonable compromise for having important compiler warnings by default.

The meson 'debug' buildtype defaults to '-O0 -g' which misses
some important compiler warnings (as of gcc-13). While there's
no universal solution, the 'debugoptimized' buildtype supplies
'-O2 -g' that appears to be a reasonable compromise for having
important compiler warnings by default.

Signed-off-by: Tomas Bzatek <[email protected]>
@tbzatek
Copy link
Contributor Author

tbzatek commented Mar 20, 2024

Just a backport of my nvme-cli commit from yesterday.

@igaw igaw merged commit fbd0a2c into linux-nvme:master Mar 20, 2024
14 checks passed
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.

2 participants