aboutsummaryrefslogtreecommitdiff
path: root/dep/jemalloc
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-02-17 01:13:36 +0100
committerShauren <shauren.trinity@gmail.com>2024-02-26 12:29:16 +0100
commit73d2e9d6d6314f3c209dd4f1135f7376e72602fa (patch)
tree4b63b5a95c5e9c2384200a1fba10ecc30b73a63f /dep/jemalloc
parent11b6b476d6a6569ee5680d83d165255f206555f9 (diff)
Build: Improve ARM target detection in cmake (needed by MSVC)
(cherry picked from commit 7e51d17a0aa06c7aaf25a836d90487b17383fca7)
Diffstat (limited to 'dep/jemalloc')
-rw-r--r--dep/jemalloc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/jemalloc/CMakeLists.txt b/dep/jemalloc/CMakeLists.txt
index 653c322f5f7..fb68395a40b 100644
--- a/dep/jemalloc/CMakeLists.txt
+++ b/dep/jemalloc/CMakeLists.txt
@@ -28,7 +28,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT NOJEM)
set(JEM_MADFREE_DEF "#undef")
endif()
- if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ if(TRINITY_SYSTEM_PROCESSOR MATCHES "arm")
set(JEM_CPU_SPINWAIT "")
set(JEM_HAVE_CPU_SPINWAIT 0)
else()