mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue