configure: Don't disable optimizations when enabling debug

Optimization is now on by default. Closes #24405
This commit is contained in:
Richo Healey 2015-04-14 00:07:27 -07:00
parent 5dc8060e3f
commit 71a4ea56c2

2
configure vendored
View File

@ -633,8 +633,6 @@ esac
# Adjust perf and debug options for debug mode # Adjust perf and debug options for debug mode
if [ -n "$CFG_ENABLE_DEBUG" ]; then if [ -n "$CFG_ENABLE_DEBUG" ]; then
msg "debug mode enabled, setting performance options" msg "debug mode enabled, setting performance options"
CFG_DISABLE_OPTIMIZE=1
CFG_DISABLE_OPTIMIZE_CXX=1
CFG_ENABLE_LLVM_ASSERTIONS=1 CFG_ENABLE_LLVM_ASSERTIONS=1
CFG_ENABLE_DEBUG_ASSERTIONS=1 CFG_ENABLE_DEBUG_ASSERTIONS=1
CFG_ENABLE_DEBUG_JEMALLOC=1 CFG_ENABLE_DEBUG_JEMALLOC=1