summaryrefslogtreecommitdiff
path: root/.bazelrc
diff options
context:
space:
mode:
authorRichard O'Grady <rjogrady@google.com>2023-04-14 16:49:56 -0700
committerRichard O'Grady <rjogrady@google.com>2023-04-14 18:02:20 -0700
commitc9f9edf6d75bb065fa47468bf035e051a57bec7c (patch)
treee2826a57d890b2fe2db716766e423727a4ca6281 /.bazelrc
parent66a30b803fcdba99150cd6ce8f424a5c21c16054 (diff)
downloadsnappy-git-main.tar.gz
Fixes for Windows bazel build.HEADmain
Don't pass -Wno-sign-compare on Windows. Add a #define HAVE_WINDOWS_H if _WIN32 is defined. Don't assume sys/uio.h is available on Windows. PiperOrigin-RevId: 524416809
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
new file mode 100644
index 0000000..3843446
--- /dev/null
+++ b/.bazelrc
@@ -0,0 +1,2 @@
+# googletest requires C++14 or above
+build --cxxopt='-std=c++17'