Skip to content

Commit ff73635

Browse files
committed
Remove SECP256K1_BUILD
Setting this variable causes a build warning, removing it doesn't seem to break anything and removes the warning. Also we do not set this variable when building `secp256k1-sys` over in the secp crate. I have no idea what the variable was intended to do though.
1 parent c8f244f commit ff73635

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ fn main() {
3838
.include("depend/bitcoin/src/secp256k1")
3939
.include("depend/bitcoin/src/secp256k1/src")
4040
.flag_if_supported("-Wno-unused-function") // some ecmult stuff is defined but not used upstream
41-
.define("SECP256K1_BUILD", "1")
4241
// Bitcoin core defines libsecp to *not* use libgmp.
4342
.define("USE_NUM_NONE", "1")
4443
.define("USE_FIELD_INV_BUILTIN", "1")

0 commit comments

Comments
 (0)