mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Don't include x64 options when building arm64
This commit is contained in:
parent
3735df4f53
commit
6718b0683e
@ -33,16 +33,14 @@ else()
|
|||||||
add_compile_options(-fno-exceptions)
|
add_compile_options(-fno-exceptions)
|
||||||
add_compile_options(-fstack-protector)
|
add_compile_options(-fstack-protector)
|
||||||
|
|
||||||
if (COMPILER_X86)
|
|
||||||
add_compile_options(-msse -msse2 -mcx16)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (COMPILER_ARM)
|
if (COMPILER_ARM)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
add_compile_options(-march=armv8.4-a)
|
add_compile_options(-march=armv8.4-a)
|
||||||
else()
|
else()
|
||||||
add_compile_options(-march=armv8.1-a)
|
add_compile_options(-march=armv8.1-a)
|
||||||
endif()
|
endif()
|
||||||
|
else()
|
||||||
|
add_compile_options(-msse -msse2 -mcx16)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_compile_options(-Werror=old-style-cast)
|
add_compile_options(-Werror=old-style-cast)
|
||||||
|
Loading…
Reference in New Issue
Block a user