Skip to content

Change default GPRbuild switches #955

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
Mar 28, 2022
Merged

Conversation

Fabien-Chouteau
Copy link
Member

  • Remove -gnatwU (Recompile if compiler switches have changed):
    It is a legacy from the time when the index was in Ada. Removal may
    trigger some issue on crates with warnings-as-error. But the longer
    we wait the bigger of a problem it will be.

  • Add -s (Recompile if compiler switches have changed):
    As discussed in Build flag  #952, it makes sense to have this default for all
    builds.

 - Remove `-gnatwU` (Recompile if compiler switches have changed):
     It is a legacy from the time when the index was in Ada. Removal may
     trigger some issue on crates with warnings-as-error. But the longer
     we wait the bigger of a problem it will be.

 - Add `-s` (Recompile if compiler switches have changed):
     As discussed in #952, it makes sense to have this default for all
     builds.
@Fabien-Chouteau Fabien-Chouteau requested a review from mosteo March 28, 2022 13:09
@mosteo mosteo merged commit f960ec0 into master Mar 28, 2022
@mosteo mosteo deleted the gprbuild_default_switches branch March 28, 2022 16:36
@mosteo
Copy link
Member

mosteo commented Mar 28, 2022

Thanks, @Fabien-Chouteau

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