Skip to content

Commit d6772d3

Browse files
committed
build: use stdlib option only for linux
1 parent b9e8418 commit d6772d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ build --workspace_status_command=tools/bazel_workspace_status.sh
3030
build --action_env=BAZEL_CXXOPTS="-std=c++17"
3131
build --cxxopt=-std=c++17
3232
build --repo_env=CC=clang
33-
build --cxxopt=-stdlib=libc++
33+
34+
# linux
35+
build:linux --cxxopt=-stdlib=libc++
3436

3537
# windows
3638
# MSVC

0 commit comments

Comments
 (0)