Mercurial > vanilla
view dev/meson/patch-clang.patch @ 1340:6c658efb7387
audio/alsa-lib: upgrade to 1.2.6.1
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 22 Dec 2021 20:51:15 +0100 |
parents | e22e50e381d0 |
children |
line wrap: on
line source
# Adding -isystem breaks build as it conflicts with clang's own headers. --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -109,8 +109,9 @@ if self.include_type == 'system': converted = [] for i in self.compile_args: + # vanilla os: we don't use -isystem as it breaks clang. if i.startswith('-I') or i.startswith('/I'): - converted += ['-isystem' + i[2:]] + converted += ['-I' + i[2:]] else: converted += [i] return converted