From 208992590eb18376c8a8fd35bdb7d03a7207e1a4 Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Fri, 30 Aug 2019 17:52:04 +0200 Subject: [PATCH] Allow cc to handle build optimizations Fixes #54 Signed-off-by: Victor Porof --- lmdb-sys/build.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lmdb-sys/build.rs b/lmdb-sys/build.rs index 2536bc5..7d20976 100644 --- a/lmdb-sys/build.rs +++ b/lmdb-sys/build.rs @@ -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") }