aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Handville <nanolith@gmail.com>2021-06-20 23:30:50 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-06-22 12:46:17 +0200
commite8e03cdc72a6a9baa3e0f13c23f53d0f7638966e (patch)
tree5d15346efe43e1c376f0fd9b4b51483d70877a98
parent9f248c778d6611c6ec4c9850aaee88be44655424 (diff)
downloadmeson-e8e03cdc72a6a9baa3e0f13c23f53d0f7638966e.zip
meson-e8e03cdc72a6a9baa3e0f13c23f53d0f7638966e.tar.gz
meson-e8e03cdc72a6a9baa3e0f13c23f53d0f7638966e.tar.bz2
Fixed style issue as per comments on PR 8911.
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index b21142f..ff87819 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -74,8 +74,7 @@ c_suffixes = lang_suffixes['c'] + ('h',) # type: T.Tuple[str, ...]
# C ABI; these can generally be used interchangeably
clib_langs = ('objcpp', 'cpp', 'objc', 'c', 'fortran',) # type: T.Tuple[str, ...]
# List of assembler suffixes that can be linked with C code directly by the linker
-assembler_suffixes = tuple() # type: T.Tuple[str, ...]
-assembler_suffixes += ('s', 'S')
+assembler_suffixes: T.Tuple[str, ...] = ('s', 'S')
# 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()
clink_langs = ('d', 'cuda') + clib_langs # type: T.Tuple[str, ...]