diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2021-01-12 22:15:42 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-01-13 12:53:10 -0500 |
commit | 39ede12aa5b27376341df85bc9ec254913f044bd (patch) | |
tree | d079bfefe3a9010dd7d7a57dfe207d9b6532b8e8 /mesonbuild/compilers/compilers.py | |
parent | ccb15bc0e988f4e90b67606eaad9443c7ccac918 (diff) | |
download | meson-39ede12aa5b27376341df85bc9ec254913f044bd.zip meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.gz meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.bz2 |
Fix misspells
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index cf9f35b..0f83f4c 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -69,7 +69,7 @@ all_languages = lang_suffixes.keys() cpp_suffixes = lang_suffixes['cpp'] + ('h',) # type: T.Tuple[str, ...] c_suffixes = lang_suffixes['c'] + ('h',) # type: T.Tuple[str, ...] # List of languages that by default consume and output libraries following the -# C ABI; these can generally be used interchangebly +# C ABI; these can generally be used interchangeably clib_langs = ('objcpp', 'cpp', 'objc', 'c', 'fortran',) # type: T.Tuple[str, ...] # List of languages that can be linked with C code directly by the linker # used in build.py:process_compilers() and build.py:get_dynamic_linker() @@ -1199,14 +1199,14 @@ def get_global_options(lang: str, comp: T.Type[Compiler], for_machine: MachineChoice, env: 'Environment') -> 'KeyedOptionDictType': - """Retreive options that apply to all compilers for a given language.""" + """Retrieve options that apply to all compilers for a given language.""" description = 'Extra arguments passed to the {}'.format(lang) argkey = OptionKey('args', lang=lang, machine=for_machine) largkey = argkey.evolve('link_args') # We shouldn't need listify here, but until we have a separate # linker-driver representation and can have that do the combine we have to - # do it htis way. + # do it this way. compile_args = mesonlib.listify(env.options.get(argkey, [])) link_args = mesonlib.listify(env.options.get(largkey, [])) |