diff options
author | Carl Dong <contact@carldong.me> | 2020-08-20 17:30:30 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-01-07 14:02:39 -0500 |
commit | 107f33d434ebbe6f93fa187e2af1f6f850e82d3b (patch) | |
tree | c1cebf76882ac9aa85d4fe7ed4bd71dcc09d7e38 /depends/hosts/darwin.mk | |
parent | d7e2401c629be3db6ceef551ee0f74deb56c02d1 (diff) |
depends: Delay expansion of per-package vars
Prior to this commit, when int_vars was called for packages, it would
immediately expand the "single-dollar variables", which may be defined
in terms of variables which are not yet determined (e.g. variables
defined in package/*.mk, which are included after int_vars is called).
This is required for the next commit as after that commit, for darwin
cross-builds:
0. int_vars is defined in terms of $(1)_cc
1. $(1)_cc is defined in terms of darwin_CC
2. ... which is defined in terms of clang_resource_dir
3. ... which is defined in terms of native_cctools_clang_version
4. which is undetermined at the time when int_vars is being expanded and evaluated
Diffstat (limited to 'depends/hosts/darwin.mk')
0 files changed, 0 insertions, 0 deletions