aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam Langley <alangley@gmail.com>2019-10-02 11:19:07 -0700
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2019-10-02 19:15:49 +0000
commit95017b9bf4c377c32271f83b32ebec07c49cfa31 (patch)
tree9b98f11368108d844d3af5caaea3e34e0dabe918 /CMakeLists.txt
parent6e7255c17e1a7348a2377fbc804441dd284806e2 (diff)
downloadboringssl-95017b9bf4c377c32271f83b32ebec07c49cfa31.zip
boringssl-95017b9bf4c377c32271f83b32ebec07c49cfa31.tar.gz
boringssl-95017b9bf4c377c32271f83b32ebec07c49cfa31.tar.bz2
Set -Wno-vla.
Would have avoided 6e7255c17e1. Change-Id: I94eeea70f6ee0b48c1a15b512d652579d65d0edf Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/37924 Commit-Queue: Adam Langley <alangley@gmail.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3fe86bf..15d1df2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CLANG)
# Note clang-cl is odd and sets both CLANG and MSVC. We base our configuration
# primarily on our normal Clang one.
- set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings")
+ set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wno-vla")
if(MSVC)
# clang-cl sets different default warnings than clang. It also treats -Wall
# as -Weverything, to match MSVC. Instead -W3 is the alias for -Wall.