mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 11:56:31 +02: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