diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-12-21 00:01:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 00:01:31 +0200 |
commit | c220816350c74f59619b82e2dabebf2255acf07c (patch) | |
tree | 4d2327f43ef35c9a2fc9012efd39b2a749b99b3a /mesonbuild | |
parent | 6864ed60dddf68e1e035194e50088649599a8d04 (diff) | |
parent | 8d6f5d869686f09957bb732f5b7acd0f98b1c195 (diff) | |
download | meson-c220816350c74f59619b82e2dabebf2255acf07c.zip meson-c220816350c74f59619b82e2dabebf2255acf07c.tar.gz meson-c220816350c74f59619b82e2dabebf2255acf07c.tar.bz2 |
Merge pull request #4573 from jon-turney/msys2-clang
More clang for Windows support
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 5c88c3c..2a5c976 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1545,6 +1545,10 @@ class GnuLikeCompiler(abc.ABC): # GNU ld and LLVM lld return ['-Wl,--allow-shlib-undefined'] + def get_gui_app_args(self, value): + if self.compiler_type.is_windows_compiler and value: + return ['-mwindows'] + return [] class GnuCompiler(GnuLikeCompiler): """ @@ -1583,11 +1587,6 @@ class GnuCompiler(GnuLikeCompiler): def get_pch_suffix(self): return 'gch' - def get_gui_app_args(self, value): - if self.compiler_type.is_windows_compiler and value: - return ['-mwindows'] - return [] - def openmp_flags(self): return ['-fopenmp'] |