mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
depends: Amend handling flags environment variables
If any of {C,CXX,CPP,LD}FLAGS is specified it should be assigned to a non-type-specific variable.
This commit is contained in:
parent
90cec4d251
commit
6522af62af
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ endef
|
|||
|
||||
define add_host_flags_func
|
||||
ifeq ($(filter $(origin $1),undefined default),)
|
||||
$(host_arch)_$(host_os)_$1 =
|
||||
$(host_arch)_$(host_os)_$(release_type)_$1 = $($1)
|
||||
$(host_arch)_$(host_os)_$1 = $($1)
|
||||
$(host_arch)_$(host_os)_$(release_type)_$1 =
|
||||
else
|
||||
$(host_arch)_$(host_os)_$1 += $($(host_os)_$1)
|
||||
$(host_arch)_$(host_os)_$(release_type)_$1 += $($(host_os)_$(release_type)_$1)
|
||||
|
|
Loading…
Add table
Reference in a new issue