build: Add options to override BDB cflags/libs #9705

pull laanwj wants to merge 2 commits into bitcoin:master from laanwj:2017_02_bdb_location changing 3 files +70 −60
  1. laanwj commented at 9:48 am on February 7, 2017: member

    Add environment settings to specify the CFLAGS and LIBS to be used for BerkeleyDB directly. These will completely by-pass autodetection in the same way as other similar flags for pkgconfig.

    0BDB_CFLAGS  C compiler flags for BerkeleyDB, bypasses autodetection
    1BDB_LIBS    Linker flags for BerkeleyDB, bypasses autodetection
    

    Implements #3921.

    Also update *BSD build guides to use these.

  2. laanwj added the label Build system on Feb 7, 2017
  3. laanwj added this to the milestone 0.14.0 on Feb 7, 2017
  4. laanwj renamed this:
    build: Add options to override BDB location
    build: Add options to override BDB cflags/libs
    on Feb 7, 2017
  5. laanwj force-pushed on Feb 7, 2017
  6. build: Add options to override BDB cflags/libs
    Add environment settings to specify the CFLAGS and LIBS to be used for
    BerkeleyDB directly. These will completely by-pass autodetection in the
    same way as other similar flags.
    
    ```
    BDB_CFLAGS  C compiler flags for BerkeleyDB, bypasses autodetection
    BDB_LIBS    Linker flags for BerkeleyDB, bypasses autodetection
    ```
    
    Implements #3921.
    8713de83a0
  7. Update OpenBSD and FreeBSD build steps
    Re-try with most recent versions, and use BDB_CFLAGS/BDB_LIBS to
    directly point at BerkeleyDB instead of CPPFLAGS hacks.
    5cc2ebb619
  8. laanwj force-pushed on Feb 7, 2017
  9. jonasschnelli approved
  10. jonasschnelli commented at 12:48 pm on February 7, 2017: contributor
    utACK 5cc2ebb619b6bc7125e6a5f83f860dfcaa759d93 A nice addition to this would be listing the found BDB version (and or maybe the BDB CLAGS) in the configure summary.
  11. laanwj commented at 1:09 pm on February 7, 2017: member

    A nice addition to this would be listing the found BDB version (and or maybe the BDB CLAGS) in the configure summary.

    I thought about that. But well we don’t really detect the BDB version, there’s just a 4.8-check-or-not (which gets skipped if you manually provide these environment variables). May be worth doing at some point, but not as part of this pull. (we’d also have to decide what flags for which dependencies to list - listing them all would be a huge list)

  12. theuni commented at 5:49 pm on February 7, 2017: member
    utACK 5cc2ebb619b6bc7125e6a5f83f860dfcaa759d93
  13. laanwj merged this on Feb 8, 2017
  14. laanwj closed this on Feb 8, 2017

  15. laanwj referenced this in commit 6a55515a9b on Feb 8, 2017
  16. codablock referenced this in commit 2489dcd3a6 on Jan 19, 2018
  17. codablock referenced this in commit e4ddb3a35a on Jan 23, 2018
  18. andvgal referenced this in commit 2f60740c4d on Jan 6, 2019
  19. CryptoCentric referenced this in commit feea96fdf3 on Feb 27, 2019
  20. MarcoFalke locked this on Sep 8, 2021

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-10-05 01:12 UTC

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