From 622996f6c014abc09a401bc08b36e773ded1aee1 Mon Sep 17 00:00:00 2001 From: flim Date: Tue, 27 Aug 2024 14:41:28 -0700 Subject: [PATCH] Enable platform-specific bazel builds PiperOrigin-RevId: 668144900 --- .bazelrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 1b60302d..b2b5aad4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -3,6 +3,7 @@ build --linkopt=-lm # build. build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain build --enable_bzlmod=false +build --enable_platform_specific_config # Platform specific configuration. build:linux --cxxopt=-std=c++20 @@ -12,4 +13,4 @@ build:macos --macos_minimum_os=12.0 build:macos --cxxopt=-std=c++20 build:macos --cxxopt=-Wno-sign-compare -build:windows --cxxopt=/std:c++20 \ No newline at end of file +build:windows --cxxopt=/std:c++20