Skip to content

Commit

Permalink
Allow cc to handle build optimizations
Browse files Browse the repository at this point in the history
Fixes danburkert#54

Signed-off-by: Victor Porof <[email protected]>
  • Loading branch information
victorporof committed Sep 4, 2019
1 parent b6720b8 commit 2089925
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lmdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ fn main() {
.define("MDB_IDL_LOGN", Some(MDB_IDL_LOGN.to_string().as_str()))
.file(lmdb.join("mdb.c"))
.file(lmdb.join("midl.c"))
// https://github.com/LMDB/lmdb/blob/LMDB_0.9.21/libraries/liblmdb/Makefile#L25
.opt_level(2)
.compile("liblmdb.a")
}

Expand Down

0 comments on commit 2089925

Please sign in to comment.