Skip to content

Commit

Permalink
fix: disable optimizations for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
thedataking authored Oct 6, 2020
1 parent 3f6c6c1 commit 70f711a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ fn build() -> io::Result<()> {
if env::var("DEBUG").is_ok() {
configure.arg("--enable-debug");
configure.arg("--disable-stripping");
configure.arg("--disable-optimizations");
} else {
configure.arg("--disable-debug");
configure.arg("--enable-stripping");
Expand Down

0 comments on commit 70f711a

Please sign in to comment.