aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD b/BUILD
index c21b631e..27288d94 100644
--- a/BUILD
+++ b/BUILD
@@ -43,12 +43,13 @@ COPTS = select({
"//conditions:default": [
"-DHAVE_PTHREAD",
"-Wall",
- "-Wwrite-strings",
"-Woverloaded-virtual",
"-Wno-sign-compare",
"-Wno-unused-function",
# Prevents ISO C++ const string assignment warnings for pyext sources.
+ # no-write-strings is the standard GCC flag as of at least v5.
"-Wno-writable-strings",
+ "-Wno-write-strings",
],
})