We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87efd2c commit fd69ac1Copy full SHA for fd69ac1
configure
@@ -645,6 +645,11 @@ esac
645
# Adjust perf and debug options for debug mode
646
if [ -n "$CFG_ENABLE_DEBUG" ]; then
647
msg "debug mode enabled, setting performance options"
648
+ if [ -z "$CFG_ENABLE_OPTIMIZE_PROVIDED" ]; then
649
+ msg "optimization not explicitly enabled, disabling optimization"
650
+ CFG_DISABLE_OPTIMIZE=1
651
+ CFG_DISABLE_OPTIMIZE_CXX=1
652
+ fi
653
CFG_ENABLE_LLVM_ASSERTIONS=1
654
CFG_ENABLE_DEBUG_ASSERTIONS=1
655
CFG_ENABLE_DEBUG_JEMALLOC=1
0 commit comments