Omit frame pointer for secp256k1 (#2442)
This commit is contained in:
parent
1f60e8e453
commit
b1ff4ef3a5
10
config.nims
10
config.nims
|
@ -172,4 +172,12 @@ when not defined(use_system_rocksdb) and not defined(windows):
|
|||
switch("dynlibOverride", "zstd")
|
||||
|
||||
when defined(gcc):
|
||||
switch("passc", "-Wno-error=incompatible-pointer-types")
|
||||
switch("passc", "-Wno-error=incompatible-pointer-types")
|
||||
|
||||
# This applies per-file compiler flags to C files
|
||||
# which do not support {.localPassC: "...".}
|
||||
# Unfortunately this is filename based instead of path-based
|
||||
# Assumes GCC
|
||||
|
||||
# -fomit-frame-pointer for https://github.com/status-im/nimbus-eth1/issues/2127
|
||||
put("secp256k1.always", "-fomit-frame-pointer")
|
||||
|
|
Loading…
Reference in New Issue