mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04: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()
|
||||||
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(ARM 1)
|
||||||
set(ARM8 1)
|
set(ARM8 1)
|
||||||
|
set(ARCH "armv8-a")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32 OR ARM)
|
if(WIN32 OR ARM)
|
||||||
|
Loading…
Reference in New Issue
Block a user