mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
doc: explain why we clear CXXFLAGS with enable-debug
This commit is contained in:
parent
55ea6fd250
commit
bc7cc57607
1 changed files with 3 additions and 1 deletions
|
@ -361,7 +361,9 @@ case $host in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$enable_debug" = "yes"; then
|
if test "$enable_debug" = "yes"; then
|
||||||
dnl Clear default -g -O2 flags
|
dnl If debugging is enabled, and the user hasn't overriden CXXFLAGS, clear
|
||||||
|
dnl them, to prevent autoconfs "-g -O2" being added. Otherwise we'd end up
|
||||||
|
dnl with "-O0 -g3 -g -O2".
|
||||||
if test "$CXXFLAGS_overridden" = "no"; then
|
if test "$CXXFLAGS_overridden" = "no"; then
|
||||||
CXXFLAGS=""
|
CXXFLAGS=""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue