Build C with debug information also on MSVC

This commit is contained in:
Tim Ruffing 2018-12-07 21:34:31 +01:00
parent bbbc63713e
commit 28c7881643
1 changed files with 1 additions and 1 deletions

View File

@ -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