diff options
author | John Ericson <git@JohnEricson.me> | 2019-02-26 00:55:43 -0500 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-27 13:10:16 -0800 |
commit | c2db7a9ceed3286683967768e6fcc1c170c24c42 (patch) | |
tree | 21fcc3ca3be725d4208f3b50a81b06e82caa48be /mesonbuild/compilers/compilers.py | |
parent | 2622e9ec323126edadfcd7017e6ee63c026abb9c (diff) | |
download | meson-c2db7a9ceed3286683967768e6fcc1c170c24c42.zip meson-c2db7a9ceed3286683967768e6fcc1c170c24c42.tar.gz meson-c2db7a9ceed3286683967768e6fcc1c170c24c42.tar.bz2 |
Sync up initialization logic with Properties and BinaryTable
1. They (and the others) all use PerMachineDefaultable. It's not the
best class, but consistency come first. (It and all of them can be
improved accross the board later.)
2. They use `None` as the default argument so as not to mutate what's
effectively a global variables. (Thanks @dcbaker!)
3. They have a `fallback` field to centralize authority on when
environment variables should be consulted.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions