From 647c09adf53f530d891348adad8e78b055ea2efb Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Sat, 8 May 2021 12:09:42 +0100 Subject: [PATCH] Remove -march=native from mimalloc build. Bug: https://github.com/microsoft/mimalloc/issues/361 Bug: https://github.com/solvespace/solvespace/issues/934 Last-Update: 2021-02-11 Gbp-Pq: Name 12_Remove-march-native-from-mimalloc-build.patch --- extlib/mimalloc/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/extlib/mimalloc/CMakeLists.txt b/extlib/mimalloc/CMakeLists.txt index 37616eb..e8e7f88 100644 --- a/extlib/mimalloc/CMakeLists.txt +++ b/extlib/mimalloc/CMakeLists.txt @@ -183,11 +183,6 @@ if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU|Intel" AND NOT CMAKE_SYSTEM endif() endif() -# Architecture flags -if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm") - list(APPEND mi_cflags -march=native) -endif() - # extra needed libraries if(WIN32) list(APPEND mi_libraries psapi shell32 user32 bcrypt) -- 2.30.2