mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 01:26:28 +00:00
autotools: default to -Wvla -std=gnu11
We can't really support anything less than gcc-4.8 anyway. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
dd94de5a87
commit
81a56e8029
@ -656,11 +656,8 @@ AC_PROG_SED
|
||||
# See if we support thread-local storage.
|
||||
LXC_CHECK_TLS
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
if test "x$enable_werror" = "xyes"; then
|
||||
CFLAGS="$CFLAGS -Werror"
|
||||
fi
|
||||
if test "x$enable_werror" = "xyes"; then
|
||||
CFLAGS="$CFLAGS -Werror -Wvla -std=gnu11"
|
||||
fi
|
||||
|
||||
# Files requiring some variable expansion
|
||||
|
Loading…
Reference in New Issue
Block a user