AArch64: Fix builderror with GCC 12.1/12.2

Early versions of GCC 12 didn't support -mtune=neoverse-v2, so use
-mtune=neoverse-v1 instead.

Reported-by: Yury Khrustalev <yury.khrustalev@arm.com>
This commit is contained in:
Wilco Dijkstra 2025-06-06 13:15:30 +00:00
parent 7a751ce39c
commit 09795c5612
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ endif
# add a generic -mcpu and -march with SVE enabled. Also use a tune for a modern
# SVE core.
sve-cflags = -mcpu=generic+sve -march=armv8-a+sve -mtune=neoverse-v2
sve-cflags = -mcpu=generic+sve -march=armv8-a+sve -mtune=neoverse-v1
ifeq ($(build-mathvec),yes)
bench-libmvec = $(addprefix float-advsimd-,$(float-advsimd-funcs)) \