aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorJustin Handville <nanolith@gmail.com>2021-06-20 16:20:04 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-06-22 12:46:17 +0200
commit9f248c778d6611c6ec4c9850aaee88be44655424 (patch)
treee39f1d5c25d606e118f6cd38c266431c92576f78 /mesonbuild/compilers
parent5cd9f88d6cafbbc2b748ffc85226d53800a05aac (diff)
downloadmeson-9f248c778d6611c6ec4c9850aaee88be44655424.zip
meson-9f248c778d6611c6ec4c9850aaee88be44655424.tar.gz
meson-9f248c778d6611c6ec4c9850aaee88be44655424.tar.bz2
Fix for Issue 8910 (Meson filters CMake asm files)
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index efe521c..b21142f 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -73,6 +73,9 @@ 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 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')
# 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, ...]