Skip to content

Commit 8ae48e2

Browse files
karolherbstnirbheek
authored andcommitted
dependencies/llvm: strip default include dirs also for config-tool version
This should have been done in my earlier fix, but kinda forgot to test and fix it there as well. See #11733 for the discussion. Fixes: 8284be8 ("dependencies/llvm: strip default include dirs") Signed-off-by: Karol Herbst <kherbst@redhat.com>
1 parent 7f4dd98 commit 8ae48e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mesonbuild/dependencies/dev.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ def __init__(self, name: str, environment: 'Environment', kwargs: T.Dict[str, T.
232232

233233
cargs = mesonlib.OrderedSet(self.get_config_value(['--cppflags'], 'compile_args'))
234234
self.compile_args = list(cargs.difference(self.__cpp_blacklist))
235+
self.compile_args = strip_system_includedirs(environment, self.for_machine, self.compile_args)
235236

236237
if version_compare(self.version, '>= 3.9'):
237238
self._set_new_link_args(environment)

0 commit comments

Comments
 (0)