mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Using host data rather.
This commit is contained in:
parent
854e81c11d
commit
2884affbd7
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel")
|
|||
endif()
|
||||
|
||||
# Architecture flags
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
|
||||
if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm")
|
||||
list(APPEND mi_cflags -march=native)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue