Skip to content

Commit 71a4ea5

Browse files
committed
configure: Don't disable optimizations when enabling debug
Optimization is now on by default. Closes rust-lang#24405
1 parent 5dc8060 commit 71a4ea5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,6 @@ esac
633633
# Adjust perf and debug options for debug mode
634634
if [ -n "$CFG_ENABLE_DEBUG" ]; then
635635
msg "debug mode enabled, setting performance options"
636-
CFG_DISABLE_OPTIMIZE=1
637-
CFG_DISABLE_OPTIMIZE_CXX=1
638636
CFG_ENABLE_LLVM_ASSERTIONS=1
639637
CFG_ENABLE_DEBUG_ASSERTIONS=1
640638
CFG_ENABLE_DEBUG_JEMALLOC=1

0 commit comments

Comments
 (0)