mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Don't set march=native on Apple Silicon
This commit is contained in:
parent
745cf1e2f5
commit
d7f3d7679a
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel" AND NOT CMAKE_SYSTEM
|
|||
endif()
|
||||
|
||||
# Architecture flags
|
||||
if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm")
|
||||
if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm" AND NOT APPLE)
|
||||
list(APPEND mi_cflags -march=native)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue