From d015a96e1d1aa4e44b0335eb0c7e829c36a63a43 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 26 May 2022 14:41:16 +0200 Subject: [PATCH] macOS: default to native arch --- CMakeLists.txt | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6572ef01..e5729856 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ endif() set(MONERO_HEAD "2ab81abe7bea16f0f6da55da3b212f9ffbca8dcd") set(BUILD_GUI_DEPS ON) -option(ARCH "Target architecture" "x86-64") +option(ARCH "Target architecture" "native") set(BUILD_64 ON) set(USE_SINGLE_BUILDDIR ON) diff --git a/Makefile b/Makefile index 91bcc9a4..1d5fa93f 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ mac-release: mkdir -p build && \ cd build && \ cmake \ - -DARCH=x86-64 \ + -DARCH=native \ -D BUILD_TAG="mac-x64" \ -D CMAKE_BUILD_TYPE=Release \ -D STATIC=Off \ -- 2.52.0