Skip to content

Commit

Permalink
default bazel copts condition (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Sep 12, 2023
1 parent 745bf36 commit 8b185c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/copts.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@bazel_skylib//lib:selects.bzl", "selects")

COPTS = selects.with_or({
("@rules_cc//cc/compiler:clang", "@rules_cc//cc/compiler:gcc", "@rules_cc//cc/compiler:mingw-gcc"): [
("//conditions:default", "@rules_cc//cc/compiler:clang", "@rules_cc//cc/compiler:gcc", "@rules_cc//cc/compiler:mingw-gcc"): [
"-std=c++17",
],
("@rules_cc//cc/compiler:msvc-cl", "@rules_cc//cc/compiler:clang-cl"): [
Expand Down

0 comments on commit 8b185c8

Please sign in to comment.