build: set -march=x86-64-v2 for x86_64

This allows for the use of SSE4.1 intrinsics.

Fixes #5440
This commit is contained in:
Norman Feske 2025-01-28 17:20:59 +01:00 committed by Christian Helmuth
parent 279a02e449
commit a5d3613f50

View File

@ -9,7 +9,7 @@ SPECS += x86 64bit
REP_INC_DIR += include/spec/x86
REP_INC_DIR += include/spec/x86_64
CC_MARCH ?= -m64 -mcmodel=large
CC_MARCH ?= -m64 -mcmodel=large -march=x86-64-v2
#
# Avoid wasting almost 4 MiB by telling the linker that the max page size is