summaryrefslogtreecommitdiff
path: root/.bazelrc
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-08-17 00:27:25 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-08-17 00:28:03 +0200
commitdb34f151779fbfc72a5c6d373b9b5b25da9085b7 (patch)
tree1c0b6c91d6b04e0f812b41c99199e52698bc53f3 /.bazelrc
parent4ad4091b38faa39ddd2deae7455bd3a26531994f (diff)
Enable compilation on ChromeOS
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.bazelrc b/.bazelrc
index 356c0c2..d90900f 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -1,4 +1,8 @@
-build --cxxopt=-Xclang=-std=c++20
+build:linux --repo_env=CC=clang
+
+build:windows --cxxopt=-Xclang=-std=c++20
+build:linux --cxxopt=-std=c++20
+
build --cxxopt=-Wall
build --cxxopt=-Wno-c++98-compat
build --cxxopt=-Wno-c++98-compat-pedantic