summaryrefslogtreecommitdiff
path: root/thirdparty/squish/clusterfit.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-17 11:30:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-12-17 11:36:50 +0100
commit8f660393feb603a9a7364c1f8e00d5a3b204419b (patch)
treed10b686c374828ae2bd315b64cf2cff1bb5293ab /thirdparty/squish/clusterfit.h
parentf3dccf5891eb4279c57b36123b5f1ba89957a1c1 (diff)
SCons: Fix build with `p` alias or platform auto-detection
Fixes a pre-existing bug that #44433 exposed. It's pretty hacky, but we use `platform` in `env` both as an optional command line option (instead it can be autodetected, or passed via the `p` alias, and on Linux it might be overridden if you pass one of the convenience alias values), and as the reference value for what platform we're building on. Thus we override `env_base["platform"]` with the autodetected or validated platform, but any call to `opts.Update(env_base)` overrides it with the original command line option... causing e.g. #44448. The proper fix would be to refactor all this so that we don't reuse `env["platform"]` for platform detection (it could instead be e.g. `env.platform` as a member variable which holds the validated value), but for now I'm tapering over the immediate breakage. Fixes #44448 and other breakages induced by #44433.
Diffstat (limited to 'thirdparty/squish/clusterfit.h')
0 files changed, 0 insertions, 0 deletions