From 3d81c610581e0c209e465f3fe5d65f5a3aa1439c Mon Sep 17 00:00:00 2001 From: jm-clius Date: Mon, 28 Mar 2022 14:31:18 +0000 Subject: [PATCH] deploy: ee96705c7fbe4063b780ac43b7edee2f6c4e351b --- config.nims | 4 ++++ vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.nims b/config.nims index 0abfe8382..d13a75deb 100644 --- a/config.nims +++ b/config.nims @@ -25,6 +25,10 @@ if defined(windows): # use at least -msse2 or -msse3. if defined(disableMarchNative): switch("passC", "-msse3") +elif defined(macosx) and defined(arm64): + # Apple's Clang can't handle "-march=native" on M1: https://github.com/status-im/nimbus-eth2/issues/2758 + switch("passC", "-mcpu=apple-m1") + switch("passL", "-mcpu=apple-m1") else: switch("passC", "-march=native") if defined(windows): diff --git a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool index 43819506b..d43f369be 100755 --- a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool +++ b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool @@ -2,7 +2,7 @@ # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libbacktrace) version-unused -# Libtool was configured on host fv-az193-519: +# Libtool was configured on host fv-az132-586: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,