mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-05 22:32:55 +02:00
fix arm64 build flag
This commit is contained in:
parent
3470ceb13d
commit
d3f1ec74ba
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if(CPU_ARCHITECTURE STREQUAL "x86_64")
|
||||||
-DZT_USE_FAST_X64_ED25519=1
|
-DZT_USE_FAST_X64_ED25519=1
|
||||||
)
|
)
|
||||||
elseif(CPU_ARCHITECTURE STREQUAL "aarch64")
|
elseif(CPU_ARCHITECTURE STREQUAL "aarch64")
|
||||||
add_definitions(-DZT_ARCHITECTURE=4 -DZT_U-DZT_ARCH_ARM_HAS_NEON=1 -DZT_SSO_SUPPORTED=1)
|
add_definitions(-DZT_ARCHITECTURE=4 -DZT_ARCH_ARM_HAS_NEON=1 -DZT_SSO_SUPPORTED=1)
|
||||||
add_compile_options(-march=armv8-a+crypto -mtune=generic -mstrict-align)
|
add_compile_options(-march=armv8-a+crypto -mtune=generic -mstrict-align)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue