2022-07-25 20:57:38 +02:00
|
|
|
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
|
|
|
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
|
|
|
@if windows and not vcc:
|
|
|
|
--define:nimRawSetjmp
|
|
|
|
@end
|
2024-07-03 09:06:35 +02:00
|
|
|
|
|
|
|
# -fomit-frame-pointer for https://github.com/status-im/nimbus-eth2/issues/6324
|
|
|
|
# upstream: https://github.com/bitcoin-core/secp256k1/pull/846
|
|
|
|
put("secp256k1.always", "-fomit-frame-pointer")
|