Remove always debug mode

This is checked automatically using the DEBUG env variable
This commit is contained in:
Elichai Turkel 2019-10-01 15:35:25 -04:00 committed by GitHub
parent f5c8a005f9
commit 79a1847c02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ 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")
.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