diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-09-08 13:30:05 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-09-08 14:38:13 +0300 |
commit | 49707605aa95a86c0e0fde0cb2166241afb0324a (patch) | |
tree | a809164a8af6fb081b2148cfd5c09dd63a84a4e6 | |
parent | 678c591028a5283f868f12bf5f514da322a040f1 (diff) | |
download | ydb-49707605aa95a86c0e0fde0cb2166241afb0324a.tar.gz |
fix use of --cxx-compiler flag after rXXXXXX
-rwxr-xr-x | build/ymake_conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py index 8fead3d919..9532efede7 100755 --- a/build/ymake_conf.py +++ b/build/ymake_conf.py @@ -1199,7 +1199,8 @@ class GnuToolchain(Toolchain): ]) if self.tc.is_clang: - self.c_flags_platform.append('-isystem{}/share/include'.format(self.tc.name_marker)) + if not self.tc.is_system_cxx: + 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=[ |