From 0dc2447a586e4e079bf7b0e15feeb4dddfcdcc00 Mon Sep 17 00:00:00 2001 From: tersec Date: Wed, 3 Jul 2024 22:06:10 +0000 Subject: [PATCH] omit frame pointer for secp256k1 (#6402) --- config.nims | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.nims b/config.nims index ec1ce2b79..67f66927a 100644 --- a/config.nims +++ b/config.nims @@ -215,7 +215,8 @@ put("server.always", "-fno-lto") put("assembly.always", "-fno-lto") # Secp256k1 -put("secp256k1.always", "-fno-lto") +# -fomit-frame-pointer for https://github.com/status-im/nimbus-eth2/issues/6324 +put("secp256k1.always", "-fno-lto -fomit-frame-pointer") # BearSSL - only RNGs put("aesctr_drbg.always", "-fno-lto")