Build C with debug information also on MSVC
This commit is contained in:
parent
bbbc63713e
commit
28c7881643
2
build.rs
2
build.rs
|
@ -50,7 +50,7 @@ fn main() {
|
||||||
base_config.include("depend/secp256k1/")
|
base_config.include("depend/secp256k1/")
|
||||||
.include("depend/secp256k1/include")
|
.include("depend/secp256k1/include")
|
||||||
.include("depend/secp256k1/src")
|
.include("depend/secp256k1/src")
|
||||||
.flag("-g")
|
.debug(true)
|
||||||
.flag_if_supported("-Wno-unused-function") // some ecmult stuff is defined but not used upstream
|
.flag_if_supported("-Wno-unused-function") // some ecmult stuff is defined but not used upstream
|
||||||
.define("SECP256K1_BUILD", Some("1"))
|
.define("SECP256K1_BUILD", Some("1"))
|
||||||
// TODO these three should be changed to use libgmp, at least until secp PR 290 is merged
|
// TODO these three should be changed to use libgmp, at least until secp PR 290 is merged
|
||||||
|
|
Loading…
Reference in New Issue