From bd4dc2110d6bd1e4e660e05b0a0ebf76c3994cfd Mon Sep 17 00:00:00 2001 From: Kaiyeung Date: Mon, 18 Nov 2024 18:08:57 +0000 Subject: [PATCH] Update core/CMakeLists.txt to include coredump.c only for X64. --- core/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index b23ebf77a66..280f6111934 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -390,7 +390,9 @@ if (UNIX) set(OS_SRCS ${OS_SRCS} unix/loader_android.c) else () set(OS_SRCS ${OS_SRCS} unix/loader_linux.c) - set(OS_SRCS ${OS_SRCS} unix/coredump.c) + if (X64) + set(OS_SRCS ${OS_SRCS} unix/coredump.c) + endif () endif () set(OS_SRCS ${OS_SRCS} unix/memquery_linux.c) set(OS_SRCS ${OS_SRCS} unix/memquery.c)