]> git.lizzy.rs Git - rust.git/commitdiff
Don't deoptimize llvm when --enable-debug
authorBrian Anderson <banderson@mozilla.com>
Thu, 9 Apr 2015 01:01:46 +0000 (18:01 -0700)
committerBrian Anderson <banderson@mozilla.com>
Thu, 9 Apr 2015 01:01:46 +0000 (18:01 -0700)
libLTO fails to link here.

configure

index b23cfaf976f0eddec80faab06cb80cab9f84b1f0..97c998a5cda3c3d5ac1b40c96a0e9a0e3e03130e 100755 (executable)
--- a/configure
+++ b/configure
@@ -631,7 +631,6 @@ if [ -n "$CFG_ENABLE_DEBUG" ]; then
     msg "debug mode enabled, setting performance options"
     CFG_DISABLE_OPTIMIZE=1
     CFG_DISABLE_OPTIMIZE_CXX=1
-    CFG_DISABLE_OPTIMIZE_LLVM=1
     CFG_ENABLE_LLVM_ASSERTIONS=1
     CFG_ENABLE_DEBUG_ASSERTIONS=1
     CFG_ENABLE_DEBUG_JEMALLOC=1