diff options
author | fanquake <fanquake@gmail.com> | 2019-09-24 11:01:19 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-10-11 11:54:39 -0400 |
commit | bcff8e21b1bb360c3cf1e1d2e1a2a54ec7581720 (patch) | |
tree | cb51f7bd2b97c3b1c406c4a7afeabb88b7d4983e /depends/funcs.mk | |
parent | 82615876109845a7fa0d12941d13c37f34f8d286 (diff) |
build: only pass --disable-dependency-tracking to packages that understand it
By blanket passing --disable-dependency-tracking to all depends packages
we end up with some warnings like:
configure: WARNING: unrecognized options: --disable-dependency-tracking
So instead, only pass it to packages that understand it.
Related to https://github.com/bitcoin/bitcoin/issues/16354.
Diffstat (limited to 'depends/funcs.mk')
-rw-r--r-- | depends/funcs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk index 8f03c5f37a..a4434b5167 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -133,7 +133,7 @@ $(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig $(1)_config_env+=PATH=$(build_prefix)/bin:$(PATH) $(1)_build_env+=PATH=$(build_prefix)/bin:$(PATH) $(1)_stage_env+=PATH=$(build_prefix)/bin:$(PATH) -$(1)_autoconf=./configure --host=$($($(1)_type)_host) --disable-dependency-tracking --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)" +$(1)_autoconf=./configure --host=$($($(1)_type)_host) --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)" ifneq ($($(1)_nm),) $(1)_autoconf += NM="$$($(1)_nm)" |