]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
configure: do not allow variable length arrays
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 25 Nov 2016 21:00:45 +0000 (22:00 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 25 Nov 2016 21:02:28 +0000 (22:02 +0100)
There pointless and marked as optional since C11.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
configure.ac

index cd424c450590d927b970e9663edcf6a2353241f3..337cd48f6093d902b2fa57c31362125c2cc4bba4 100644 (file)
@@ -663,7 +663,7 @@ LXC_CHECK_TLS
 if test "x$GCC" = "xyes"; then
        CFLAGS="$CFLAGS -Wall"
        if test "x$enable_werror" = "xyes"; then
-               CFLAGS="$CFLAGS -Werror"
+               CFLAGS="$CFLAGS -Werror -Werror=vla"
        fi
 fi