mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
66a3981a7a
affbf58a1e52a8e60c830be6a9e0347e0ff4c28e build: Move environment variables into `$(package)_config_env` (Hennadii Stepanov)
d44fcd3c976572883bbf7f386bc88e2610dc1a58 build: Make $(package)_*_env available to all $(package)_*_cmds (Hennadii Stepanov)
Pull request description:
On master (1e7564eca8a688f39c75540877ec3bdfdde766b1) the depends build system, which is based on pure GNU Make, works, but it lacks robustness, and in some corner cases it fails. For example, see bitcoin/bitcoin#22552.
Another [bug](https://github.com/bitcoin/bitcoin/issues/22719) in the depends build system has already become a problem at least two times in the past (https://github.com/bitcoin/bitcoin/pull/16883#issuecomment-683817472 and https://github.com/bitcoin/bitcoin/pull/24134). Each time the problem was solved with other means.
The initial [solution](https://github.com/bitcoin/bitcoin/pull/19882) had some discussion. Also it was discussed on the IRC meeting in #bitcoin-core-builds channel. This PR, actually, is a resurrection of it, as the bug silently struck pretty [recently](https://github.com/bitcoin/bitcoin/pull/24134).
The bug is well described in bitcoin/bitcoin#22719.
Here is another, a bit simpler description, which requires only basic shell (bash, dash etc) experience.
After creating targets by this code:
|
||
---|---|---|
.. | ||
backtrace.mk | ||
bdb.mk | ||
boost.mk | ||
capnp.mk | ||
expat.mk | ||
fontconfig.mk | ||
freetype.mk | ||
gmp.mk | ||
libevent.mk | ||
libmultiprocess.mk | ||
libnatpmp.mk | ||
libXau.mk | ||
libxcb_util_image.mk | ||
libxcb_util_keysyms.mk | ||
libxcb_util_render.mk | ||
libxcb_util_wm.mk | ||
libxcb_util.mk | ||
libxcb.mk | ||
libxkbcommon.mk | ||
miniupnpc.mk | ||
native_capnp.mk | ||
native_cctools.mk | ||
native_clang.mk | ||
native_ds_store.mk | ||
native_libdmg-hfsplus.mk | ||
native_libmultiprocess.mk | ||
native_libtapi.mk | ||
native_mac_alias.mk | ||
packages.mk | ||
qrencode.mk | ||
qt.mk | ||
sqlite.mk | ||
systemtap.mk | ||
xcb_proto.mk | ||
xproto.mk | ||
zeromq.mk |