Include -march=native for debug builds
This commit is contained in:
parent
8b4209cb97
commit
859b0cc585
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -415,7 +415,7 @@ def init_env(
|
|||
verbose: bool = True,
|
||||
vcs_rev: str = '',
|
||||
) -> Env:
|
||||
native_optimizations = native_optimizations and not sanitize and not debug
|
||||
native_optimizations = native_optimizations and not sanitize
|
||||
if native_optimizations and is_macos and is_arm:
|
||||
# see https://github.com/kovidgoyal/kitty/issues/3126
|
||||
# -march=native is not supported when targeting Apple Silicon
|
||||
|
|
|
|||
Loading…
Reference in a new issue