Drop using the v2 microarch

No significant performance impact and small risk of breakage
This commit is contained in:
Kovid Goyal 2024-01-23 22:07:38 +05:30
parent 9d4193f4ea
commit 465616223c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -476,8 +476,6 @@ def init_env(
# -march=native is not supported when targeting Apple Silicon
if native_optimizations:
march = '-march=native -mtune=native'
elif sys.maxsize > 2**32 and not is_arm:
march = '-march=x86-64-v2 -mtune=generic'
cflags_ = os.environ.get(
'OVERRIDE_CFLAGS', (
f'-Wextra {float_conversion} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {std}'