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

[toolchain] Make Os and Oz mutually exclusive. #25928

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

sasdf
Copy link
Contributor

@sasdf sasdf commented Jan 17, 2025

This change ensures optimization level flags are exclusive, resolving ambiguity caused by the previous implementation where it expects the last flag overwrote the optimization level.

Verified with --subcommands that Oz is the only one -O flag when building rom exts, while other tests are built with Os.

This change ensures optimization level flags are exclusive, resolving
ambiguity caused by the previous implementation where it expects the last flag
overwrote the optimization level.

Change-Id: I6b372c36ac99eb647f36956934e08fd6cc0e412f
Signed-off-by: Yi-Hsuan Deng <[email protected]>
@sasdf sasdf requested review from timothytrippel and jwnrt January 17, 2025 15:02
@sasdf sasdf marked this pull request as ready for review January 17, 2025 15:02
@timothytrippel timothytrippel merged commit 4ba44a9 into lowRISC:master Jan 18, 2025
38 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.

3 participants