[lxc-devel] [lxc/master] configure: remove -Werror=vla

brauner on Github lxc-bot at linuxcontainers.org
Sat Nov 26 06:08:36 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 435 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20161126/1bec6976/attachment.bin>
-------------- next part --------------
From ce44bee117f861fe3efa7ffd798825f468850c18 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Sat, 26 Nov 2016 07:07:25 +0100
Subject: [PATCH] configure: remove -Werror=vla

Because we include a header that uses a vla (/me scoffs at header).

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9b0b8e1..b1bd9a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 -Werror=vla"
+		CFLAGS="$CFLAGS -Werror"
 	fi
 fi
 


More information about the lxc-devel mailing list