diff options
author | Tom Scogland <scogland1@llnl.gov> | 2022-05-23 21:57:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 00:57:09 -0400 |
commit | 330832c22cfa59554f6681a570bdec24ca46e79b (patch) | |
tree | 16766a69925ee06f1641df007de0baf96faa131a /etc | |
parent | 306bed48d747c907cfbd60073cdf6d92c3bca14a (diff) | |
download | spack-330832c22cfa59554f6681a570bdec24ca46e79b.tar.gz spack-330832c22cfa59554f6681a570bdec24ca46e79b.tar.bz2 spack-330832c22cfa59554f6681a570bdec24ca46e79b.tar.xz spack-330832c22cfa59554f6681a570bdec24ca46e79b.zip |
strip -Werror: all specific or none (#30284)
Add a config option to strip `-Werror*` or `-Werror=*` from compile lines everywhere.
```yaml
config:
keep_werror: false
```
By default, we strip all `-Werror` arguments out of compile lines, to avoid unwanted
failures when upgrading compilers. You can re-enable `-Werror` in your builds if
you really want to, with either:
```yaml
config:
keep_werror: all
```
or to keep *just* specific `-Werror=XXX` args:
```yaml
config:
keep_werror: specific
```
This should make swapping in newer versions of compilers much smoother when
maintainers have decided to enable `-Werror` by default.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions