[ARM64_DYNAREC] Another attempt to get correct assembly file handling

This commit is contained in:
ptitSeb 2025-03-30 16:00:25 +02:00
parent 03c69338f5
commit 104e582253

View File

@ -233,7 +233,8 @@ if(ARM_DYNAREC)
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION GREATER_EQUAL 14.0)
set(CMAKE_ASM_FLAGS "-pipe -mcpu=generic-armv8-a+crc+crypto")
else()
set(CMAKE_ASM_FLAGS "-pipe -mcpu=generic -march=armv8.2-a+crc+crypto")
#putting a random cpu that have 8.2 architecture so assembly can be build. the use of the feature are conditionnal anyway
set(CMAKE_ASM_FLAGS "-pipe -mcpu=cortex-a76 -march=armv8.2-a+crc+crypto")
endif()
endif()
if(ANDROID)