1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

Don't include x64 options when building arm64

This commit is contained in:
kd-11 2024-02-10 17:43:36 +03:00 committed by Megamouse
parent 3735df4f53
commit 6718b0683e

View File

@ -33,16 +33,14 @@ else()
add_compile_options(-fno-exceptions)
add_compile_options(-fstack-protector)
if (COMPILER_X86)
add_compile_options(-msse -msse2 -mcx16)
endif()
if (COMPILER_ARM)
if (APPLE)
add_compile_options(-march=armv8.4-a)
else()
add_compile_options(-march=armv8.1-a)
endif()
else()
add_compile_options(-msse -msse2 -mcx16)
endif()
add_compile_options(-Werror=old-style-cast)