Skip to content

Commit 759fe7d

Browse files
fmeumcopybara-github
authored andcommitted
Keep /external:I... on a single param file line
MSVC fails if `/external:I <some_path>` is broken into two lines in `.param` files. This is avoided by using the alternative `/external:I<some_path>` form. Fixes #22614 Closes #22616. PiperOrigin-RevId: 640055579 Change-Id: I5fda2714dc479fd76f22e2f8562dddbdfcdb9a18
1 parent 89c4866 commit 759fe7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cpp/windows_cc_toolchain_config.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def _impl(ctx):
906906
],
907907
flag_groups = [
908908
flag_group(
909-
flags = ["/external:I", "%{external_include_paths}"],
909+
flags = ["/external:I%{external_include_paths}"],
910910
iterate_over = "external_include_paths",
911911
expand_if_available = "external_include_paths",
912912
),

0 commit comments

Comments
 (0)