Set -march instead of -mcpu

This commit is contained in:
Jarred Sumner
2024-07-11 20:14:43 -07:00
parent 780bff781d
commit aea3964abd
4 changed files with 5 additions and 5 deletions

View File

@@ -1128,7 +1128,7 @@ else()
if(NOT WIN32 AND NOT APPLE AND ARCH STREQUAL "aarch64")
# on arm64 linux, we set a minimum of armv8
target_compile_options(${bun} PUBLIC -mcpu=cortex-a35 -mtune=ampere1)
target_compile_options(${bun} PUBLIC -march=cortex-a35 -mtune=ampere1)
endif()
endif()