diff options
author | Marvin Scholz <epirat07@gmail.com> | 2018-07-18 03:52:07 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-28 00:09:47 +0100 |
commit | fd683dea78180951e2c2e08f59fe365107a3cc3f (patch) | |
tree | 081606e544b53cbe88633a413be20e3c3fff1721 /mesonbuild/compilers/compilers.py | |
parent | 1c2cfe45292aea0e6f938098add92f3dd90727f1 (diff) | |
download | meson-nirbheek/epirat/experiment-has_function.tar.gz |
Simplify has_function and fix SDK targetting on macOSnirbheek/epirat/experiment-has_function
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 458a41687..e95e5295a 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1577,6 +1577,7 @@ class ClangCompiler(GnuLikeCompiler): # https://github.com/Homebrew/homebrew-core/issues/3727 if self.compiler_type.is_osx_compiler and version_compare(self.version, '>=8.0'): extra_args.append('-Wl,-no_weak_imports') + extra_args.append('-Werror-partial-availability') return super().has_function(funcname, prefix, env, extra_args, dependencies) def openmp_flags(self): |