Page MenuHomePhabricator

autoconf: Sane --enable-debug defaults.
ClosedPublic

Authored by Fabien on Dec 18 2019, 15:36.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.