13
0

configure: clarify that --optimize just is the opposite of --debug

Optimize is just "normal".
This commit is contained in:
Mads Kiilerich 2022-01-23 13:50:21 +01:00 committed by Paul Davis
parent 1f1565e08b
commit 071f3e79c2

View File

@ -66,10 +66,10 @@ def set_options(opt, debug_by_default=False):
# Build options
if debug_by_default:
opt.add_option('--optimize', action='store_false', default=True, dest='debug',
help="Build optimized binaries")
help="Build optimized binaries (not debug)")
else:
opt.add_option('--debug', action='store_true', default=False, dest='debug',
help="Build debuggable binaries")
help="Build debuggable binaries (not optimized)")
opt.add_option('--pardebug', action='store_true', default=False, dest='pardebug',
help="Build parallel-installable debuggable libraries with D suffix")