diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-03-31 22:44:09 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2018-04-16 19:14:02 -0400 |
commit | bd37afeeea0283dac1051b7d9bedf099252c1d19 (patch) | |
tree | 83c7c1b802dc58d554533739dee935786e6291d5 /mesonbuild/compilers/cpp.py | |
parent | bca2ff6def2db24824ad3d7452cb4c78519560d7 (diff) | |
download | meson-bd37afeeea0283dac1051b7d9bedf099252c1d19.zip meson-bd37afeeea0283dac1051b7d9bedf099252c1d19.tar.gz meson-bd37afeeea0283dac1051b7d9bedf099252c1d19.tar.bz2 |
Add has_link_argument() and friends
Closes: #3335.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 238c6de..4c48052 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -199,16 +199,6 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler): def get_option_link_args(self, options): return [] - def has_multi_arguments(self, args, env): - for arg in args: - if arg.startswith('-Wl,'): - mlog.warning('''{} looks like a linker argument, but has_argument -and other similar methods only support checking compiler arguments. -Using them to check linker arguments are never supported, and results -are likely to be wrong regardless of the compiler you are using. -'''.format(arg)) - return super().has_multi_arguments(args + ['-diag-error', '10006'], env) - class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler): def __init__(self, exelist, version, is_cross, exe_wrap, is_64): |