dash/build-aux/m4
fanquake 68f8cbf043 Merge #17396: build: modest Android improvements
366913e307d2dc13bc00d6bf7b6b2426c359ac30 build: AX_BOOST_THREAD serial 33 (Igor Cota)
cf0681133ae7301ead7091eaee55c945da5cdfcc build: disable D-Bus on Android by default (Igor Cota)

Pull request description:

  I've been trying to build for Android on different OSes/Gitian with varying success. Build system is quite the beast and sometimes it doesn't get it right. To make sure it does these three little tweaks make the Android build more robust:

  - disable D-Bus (Android doesn't support it and has its own way to trigger notifications)
  - don't flag `-lpthread` when linking Boost, [Bionic has built-in support](https://stackoverflow.com/questions/30801752/android-ndk-and-pthread)
  - ~~add `-static-libstdc++` to linker flags. This avoids having to bundle `libc++_shared` with CLI apps, still necessary with `bitcoin-qt` though (thanks Sjors)~~

  I think these are small and fairly straightforward so I put them all into this one PR.

ACKs for top commit:
  fanquake:
    ACK 366913e307d2dc13bc00d6bf7b6b2426c359ac30

Tree-SHA512: 31465fd228a5877c20aa2a05f98242d4eeb328b9b35bd1a7a3dcfb1ef51379d84053a81ade5a65436ffc1bc8ccd21f11ed0539eb10e827d182c0c04394629af0
2021-07-15 19:30:07 -05:00
..
ax_boost_base.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_boost_chrono.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_boost_filesystem.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_boost_system.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_boost_thread.m4 Merge #17396: build: modest Android improvements 2021-07-15 19:30:07 -05:00
ax_boost_unit_test_framework.m4 Merge #16870: build: update boost macros to latest upstream for improved error reporting 2021-07-12 20:54:22 -05:00
ax_check_compile_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_check_link_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_check_preproc_flag.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_cxx_compile_stdcxx.m4 Merge #18591: Add C++17 build to Travis 2021-04-23 20:02:35 +05:30
ax_gcc_func_attribute.m4 Merge #7711: [build-aux] Update Boost & check macros to latest serials 2017-12-19 13:42:36 +01:00
ax_pthread.m4 Merge #8198: [trivial] Sync ax_pthread with upstream draft4 2017-12-28 11:44:59 +01:00
bitcoin_find_bdb48.m4 Merge #12294: [Docs] Create NetBSD build instructions and fix compilation 2021-06-25 20:51:59 -05:00
bitcoin_qt.m4 Merge #17396: build: modest Android improvements 2021-07-15 19:30:07 -05:00
bitcoin_subdir_to_include.m4 Merge #8784: Copyright headers for build scripts 2018-01-12 08:02:45 +01:00
l_atomic.m4 Merge #8784: Copyright headers for build scripts 2018-01-12 08:02:45 +01:00