configure: do not allow variable length arrays

There pointless and marked as optional since C11. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 8d3786cb
...@@ -663,7 +663,7 @@ LXC_CHECK_TLS ...@@ -663,7 +663,7 @@ LXC_CHECK_TLS
if test "x$GCC" = "xyes"; then if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
if test "x$enable_werror" = "xyes"; then if test "x$enable_werror" = "xyes"; then
CFLAGS="$CFLAGS -Werror" CFLAGS="$CFLAGS -Werror -Werror=vla"
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment