HomePhabricator

autoconf: Sane --enable-debug defaults.

Description

autoconf: Sane --enable-debug defaults.

Summary:

Don't optimize at all when --enable-debug is supplied. This makes sure
that nothing is optimized out.

Backport of core PR16435:
https://github.com/bitcoin/bitcoin/pull/16435/files

Test Plan:

cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
ninja check

../configure --enable-debug
make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4756

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Jul 22 2019, 15:06
FabienCommitted on Dec 18 2019, 20:05
FabienPushed on Dec 18 2019, 20:13
Reviewer
Restricted Project
Differential Revision
D4756: autoconf: Sane --enable-debug defaults.
Parents
rSTAGING023d88136c94: [CMAKE] Allow to run boost unit tests in parallel
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/14976