Skip to content

Revome duplicate optimization flags in IAR export #4293

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

Merged
merged 1 commit into from
May 15, 2017

Conversation

theotherjimmy
Copy link
Contributor

@theotherjimmy theotherjimmy commented May 9, 2017

Description

Compiling with some IAR exports would result in a warning/error message saying

[Su004]: Option -O can only occur once

This is a Bad Thing^TM.

Resolves ARMmbed/mbed-cli#487

Why did this happen?

We had an incomplete filter for optimization options that would be put in the
miscellaneous options section of the IAR project XML. It did not filter out
some options, like -Oh and -Ohz

Why this patch?

This patch fixes this bug by filtering out a wider range of optimization options
from the miscellaneous flags section.

TODO

  • /morph export-build

@0xc0170
Copy link
Contributor

0xc0170 commented May 10, 2017

/morph export-build

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph export-build

Output

mbed Build Number: 29

All exports and builds passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate optimization settings on IAR EWARM export
3 participants