doc: Override -g properly to skip debugging information #29756

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:240328-debug changing 1 files +1 −1
  1. hebasto commented at 11:41 am on March 28, 2024: member
    Fix #29755.
  2. DrahtBot commented at 11:41 am on March 28, 2024: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK TheCharlatan

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  3. DrahtBot added the label Docs on Mar 28, 2024
  4. doc: Override `-g` properly to skip debugging information f8f5cece4d
  5. in doc/build-unix.md:33 in 5a7ee379af outdated
    29@@ -30,7 +30,7 @@ tuned to conserve memory with additional CXXFLAGS:
    30 Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
    31 `-g -O2`, and can be changed with:
    32 
    33-    ./configure CXXFLAGS="-O2"
    34+    ./configure CXXFLAGS="-g0 -O2"
    


    TheCharlatan commented at 11:48 am on March 28, 2024:
    The O2 is also not needed anymore.

    hebasto commented at 11:50 am on March 28, 2024:
    Fixed.
  6. hebasto force-pushed on Mar 28, 2024
  7. TheCharlatan approved
  8. TheCharlatan commented at 12:15 pm on March 28, 2024: contributor
    ACK f8f5cece4dfda5c614e087be75af074181a36c39
  9. fanquake merged this on Apr 1, 2024
  10. fanquake closed this on Apr 1, 2024

  11. hebasto deleted the branch on Apr 1, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-28 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me