aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake_conf.py
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-09-08 23:23:54 +0300
committerpg <pg@yandex-team.com>2023-09-08 23:54:20 +0300
commitcc817e49904f6c278590924b9b28ad75f52ef77a (patch)
tree4f8aa5ba85af3b1961595db207400d7de9c036f3 /build/ymake_conf.py
parent70e8c5b519a43775e5d9088e0f669e97b9db650b (diff)
downloadydb-cc817e49904f6c278590924b9b28ad75f52ef77a.tar.gz
Diffstat (limited to 'build/ymake_conf.py')
-rwxr-xr-xbuild/ymake_conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 9532efede7..c4089df22c 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -1200,7 +1200,8 @@ class GnuToolchain(Toolchain):
if self.tc.is_clang:
if not self.tc.is_system_cxx:
- self.c_flags_platform.append('-isystem{}/share/include'.format(self.tc.name_marker))
+ if 'CLANG' in self.tc.name_marker:
+ self.c_flags_platform.append('-isystem{}/share/include'.format(self.tc.name_marker))
target_triple = self.tc.triplet_opt.get(target.arch, None)
if not target_triple:
target_triple = select(default=None, selectors=[