mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Fix ARM64 identification
The actual arch flag the compiler recognizes is "armv8-a". This is true for both gcc and clang.
This commit is contained in:
parent
a467321800
commit
e65d66fe04
@ -80,9 +80,10 @@ if (ARM_TEST STREQUAL "arm")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (ARM_ID STREQUAL "aarch64" OR ARM_ID STREQUAL "arm64")
|
||||
if (ARM_ID STREQUAL "aarch64" OR ARM_ID STREQUAL "arm64" OR ARM_ID STREQUAL "armv8-a")
|
||||
set(ARM 1)
|
||||
set(ARM8 1)
|
||||
set(ARCH "armv8-a")
|
||||
endif()
|
||||
|
||||
if(WIN32 OR ARM)
|
||||
|
Loading…
Reference in New Issue
Block a user