From 71a4ea56c2ff2711cc5c88f063e8f5a213247e31 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Tue, 14 Apr 2015 00:07:27 -0700 Subject: [PATCH] configure: Don't disable optimizations when enabling debug Optimization is now on by default. Closes #24405 --- configure | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure b/configure index 8108e10752a20..a3ae7dc73d08e 100755 --- a/configure +++ b/configure @@ -633,8 +633,6 @@ esac # Adjust perf and debug options for debug mode if [ -n "$CFG_ENABLE_DEBUG" ]; then msg "debug mode enabled, setting performance options" - CFG_DISABLE_OPTIMIZE=1 - CFG_DISABLE_OPTIMIZE_CXX=1 CFG_ENABLE_LLVM_ASSERTIONS=1 CFG_ENABLE_DEBUG_ASSERTIONS=1 CFG_ENABLE_DEBUG_JEMALLOC=1