mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-01 17:24:38 +03:00
add comment
This commit is contained in:
parent
cb2719cdb8
commit
0e9159e0bf
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ endif()
|
|||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel" AND NOT CMAKE_SYSTEM_NAME MATCHES "Haiku")
|
||||
if(MI_OPT_ARCH)
|
||||
if(APPLE AND "arm64" IN_LIST CMAKE_OSX_ARCHITECTURES)
|
||||
if(APPLE AND CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND "arm64" IN_LIST CMAKE_OSX_ARCHITECTURES) # to support multi-arch binaries (#999)
|
||||
set(MI_OPT_ARCH_FLAGS "-Xarch_arm64" "-march=armv8.1-a")
|
||||
elseif(MI_ARCH STREQUAL "arm64")
|
||||
set(MI_OPT_ARCH_FLAGS "-march=armv8.1-a") # fast atomics
|
||||
|
|
Loading…
Add table
Reference in a new issue