We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8cdc8e commit 69d5615Copy full SHA for 69d5615
.bazelrc
@@ -1,4 +1,14 @@
1
-build --copt=-Wno-error=deprecated-declarations --host_copt=-Wno-error=deprecated-declarations
+# Common settings for unix-like systems
2
+build:unix --copt=-Wno-error=deprecated-declarations
3
+build:unix --host_copt=-Wno-error=deprecated-declarations
4
+
5
+# Apply unix config on linux and macos
6
+build:linux --config=unix
7
+build:macos --config=unix
8
9
+# Windows specific settings
10
+build:windows --copt=-DABSL_HAVE_WORKING_GCC_WNO_DEPRECATED_DECLARATIONS=0
11
+build:windows --host_copt=-DABSL_HAVE_WORKING_GCC_WNO_DEPRECATED_DECLARATIONS=0
12
13
# Required until this is the default; expected in Bazel 7
14
common --enable_bzlmod
0 commit comments