Skip to content

Change optimize -Os to -O2#3363

Merged
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_Os-to-O2
Mar 3, 2025
Merged

Change optimize -Os to -O2#3363
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_Os-to-O2

Conversation

@BsAtHome
Copy link
Copy Markdown
Contributor

@BsAtHome BsAtHome commented Mar 2, 2025

This PR changes the optimize for size to default -O2 optimization, as discussed in #3343.

The changes also propagate the -Wextra and -Werror flags from CFLAGS into EXTRA_CFLAGS so that real-time components get compiled with these flags if they are present in CFLAGS (code prepared to compile cleanly in merged PRs #3344 and #3345).

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