bitcoin-core / secp256k1

Optimized C library for EC operations on curve secp256k1
MIT License
2.06k stars 1k forks source link

cmake: Introduce `SECP256K1_APPEND_LDFLAGS` variable #1600

Closed hebasto closed 3 weeks ago

hebasto commented 1 month ago

Downstream projects may include libsecp256k1 test executables in their test suites. In such cases, if a -fsanitize=... flag is passed via the SECP256K1_APPEND_CFLAGS variable, the same flag must also be passed to the linker.

Required for https://github.com/bitcoin/bitcoin/pull/30791.

fanquake commented 4 weeks ago

Concept ACK - It'd be great if a maintainer could take a look, as we have some changes downstream that are blocked on this.