1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Subject: Remove -march=native from mimalloc build.
Bug: https://github.com/microsoft/mimalloc/issues/361
Bug: https://github.com/solvespace/solvespace/issues/934
From: Ryan Pavlik <ryan.pavlik@collabora.com>
Last-Update: 2021-02-11
Date: Wed, 10 Feb 2021 16:20:25 -0600
---
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)
|