mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 07:24:41 +02:00
Include -march=native for debug builds
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user