mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-30 11:34:17 -04:00
use -march=native by default with a disable toggle
This commit is contained in:
parent
00915521a3
commit
5bee717134
2 changed files with 10 additions and 0 deletions
|
@ -60,6 +60,10 @@ make command as follows:
|
|||
|
||||
The available configuration options are the following:
|
||||
|
||||
* `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
|
||||
due to substantial performance benefits for this code.
|
||||
* `CONFIG_CXX_ALLOCATOR`: `true` (default) or `false` to control whether the
|
||||
C++ allocator is replaced for slightly improved performance and detection of
|
||||
mismatched sizes for sized deallocation (often type confusion bugs). This
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue