We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e0ace commit 071eef1Copy full SHA for 071eef1
depends/hosts/default.mk
@@ -29,8 +29,13 @@ host_$1=$$($(host_arch)_$(host_os)_$1)
29
endef
30
31
define add_host_flags_func
32
+ifeq ($(filter $(origin $1),undefined default),)
33
+$(host_arch)_$(host_os)_$1 =
34
+$(host_arch)_$(host_os)_$(release_type)_$1 = $($1)
35
+else
36
$(host_arch)_$(host_os)_$1 += $($(host_os)_$1)
37
$(host_arch)_$(host_os)_$(release_type)_$1 += $($(host_os)_$(release_type)_$1)
38
+endif
39
host_$1 = $$($(host_arch)_$(host_os)_$1)
40
host_$(release_type)_$1 = $$($(host_arch)_$(host_os)_$(release_type)_$1)
41
0 commit comments