aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-10 13:41:34 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-13 11:22:31 -0700
commitc916024b41874e2afdcb207f172c4a447c166461 (patch)
treed20a9eb745b9a1ecf0922075246bdc05520ecc0c
parent080f59cf43797a37e1711474b3093f48fefa95c9 (diff)
downloadmeson-c916024b41874e2afdcb207f172c4a447c166461.zip
meson-c916024b41874e2afdcb207f172c4a447c166461.tar.gz
meson-c916024b41874e2afdcb207f172c4a447c166461.tar.bz2
compilers: ICL is not GCC like
-rw-r--r--mesonbuild/compilers/compilers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index da9ae74..eb716f7 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1462,14 +1462,14 @@ def get_compiler_uses_gnuld(c):
# FIXME: Perhaps we should detect the linker in the environment?
# FIXME: Assumes that *BSD use GNU ld, but they might start using lld soon
compiler_type = getattr(c, 'compiler_type', None)
- return compiler_type in (
+ return compiler_type in {
CompilerType.GCC_STANDARD,
CompilerType.GCC_MINGW,
CompilerType.GCC_CYGWIN,
CompilerType.CLANG_STANDARD,
CompilerType.CLANG_MINGW,
CompilerType.ICC_STANDARD,
- CompilerType.ICC_WIN)
+ }
def get_largefile_args(compiler):
'''