build: remove unused cppflags #26089

pull fanquake wants to merge 2 commits into bitcoin:master from fanquake:prune_unneeded_upnp_natpmp changing 2 files +2 −2
  1. fanquake commented at 10:27 AM on September 14, 2022: member

    Their inclusion is likely just the result of copy-paste.

    The only place upnp & natpmp CPPFLAGS should be used is libbitcoin_node (mapport.cpp).

  2. fanquake added the label Build system on Sep 14, 2022
  3. theuni commented at 7:37 PM on September 14, 2022: member

    ACK 557ed5973329052418ad371ebc43a74ac8096f1b. Confirmed that mapport.cpp is the only user of these includes.

    From a quick glance it looks like these two shouldn't require libevent either though?

  4. hebasto commented at 7:57 PM on September 14, 2022: member

    Concept ACK.

    Their inclusion is likely just the result of copy-paste.

    That is true at least for NATPMP_CPPFLAGS.

  5. build: remove unused natpmp / upnp cppflags
    Their inclusion is likely just the result of copy-paste.
    
    The only place upnp/natpmpflags  should be used is `libbitcoin_node`
    (mapport.cpp).
    afce044bb6
  6. build: remove unused libevent cppflags 4b656b9ed3
  7. fanquake renamed this:
    build: remove unused natpmp / upnp cppflags
    build: remove unused cppflags
    on Sep 15, 2022
  8. fanquake force-pushed on Sep 15, 2022
  9. fanquake commented at 8:57 AM on September 15, 2022: member

    From a quick glance it looks like these two shouldn't require libevent either though?

    Looks like it. Have added a commit to drop them as well.

  10. theuni approved
  11. theuni commented at 1:37 PM on September 15, 2022: member

    ACK 4b656b9ed35d502d39ca745047961f242a5d868d

  12. hebasto approved
  13. hebasto commented at 1:38 PM on September 15, 2022: member

    ACK 4b656b9ed35d502d39ca745047961f242a5d868d, I have reviewed the code and it looks OK, I agree it can be merged.

  14. fanquake merged this on Sep 15, 2022
  15. fanquake closed this on Sep 15, 2022

  16. fanquake deleted the branch on Sep 15, 2022
  17. sidhujag referenced this in commit 5667fce568 on Sep 15, 2022
  18. bitcoin locked this on Sep 15, 2023

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: 2026-04-26 06:13 UTC

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