mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Buildfiles improvements
This commit is contained in:
parent
c572226b0d
commit
c17014a055
1 changed files with 4 additions and 1 deletions
|
@ -34,12 +34,15 @@ else()
|
|||
add_compile_options(-fstack-protector)
|
||||
|
||||
if (COMPILER_ARM)
|
||||
# This section needs a review. Apple claims armv8.5-a on M-series but doesn't support SVE.
|
||||
# Note that compared to the rest of the 8.x family, 8.1 is very restrictive and we'll have to bump the requirement in future to get anything meaningful.
|
||||
if (APPLE)
|
||||
add_compile_options(-march=armv8.4-a)
|
||||
else()
|
||||
add_compile_options(-march=armv8.1-a)
|
||||
endif()
|
||||
else()
|
||||
elseif(COMPILER_X86)
|
||||
# Some compilers will set both X86 and ARM, so check explicitly for ARM first
|
||||
add_compile_options(-msse -msse2 -mcx16)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue