mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-31 20:14:33 -04:00
add enabled-by-default option to use -Werror
This commit is contained in:
parent
c70745ab15
commit
abece7656b
2 changed files with 10 additions and 0 deletions
|
@ -168,6 +168,11 @@ even with all the optional features disabled.
|
|||
|
||||
The following boolean configuration options are available:
|
||||
|
||||
* `CONFIG_WERROR`: `true` (default) or `false` to control whether compiler
|
||||
warnings are treated as errors. This is highly recommended, but it can be
|
||||
disabled to avoid patching the Makefile if a compiler version not tested by
|
||||
the project is being used and has warnings. Investigating these warnings is
|
||||
still recommended and the intention is to always be free of any warnings.
|
||||
* `CONFIG_NATIVE`: `true` (default) or `false` to control whether the code is
|
||||
optimized for the detected CPU on the host. If this is disabled, setting up a
|
||||
custom `-march` higher than the baseline architecture is highly recommended
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue