Skip to content

Commit 326dd1e

Browse files
committed
Comment out fatal-warnings for Mac clang14
1 parent e282f31 commit 326dd1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cc/toolchains/llvm/unix_cc_toolchain_config.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,9 @@ def _impl(ctx):
12901290
),
12911291
flag_set(
12921292
actions = all_link_actions,
1293-
flag_groups = [flag_group(flags = ["-Wl,-fatal-warnings"])],
1293+
flag_groups = [flag_group(
1294+
flags = ["-Wl,-fatal-warnings"] if is_linux else [""], # fails on Mac & clang14: ["-Wl,-fatal_warnings"],
1295+
)],
12941296
),
12951297
],
12961298
)

0 commit comments

Comments
 (0)