From: Christian Brauner Date: Tue, 5 Feb 2019 22:25:19 +0000 (+0100) Subject: compiler: -fdiagnostics-show-option X-Git-Tag: lxc-3.2.0~165^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64871d419de4326ce4976a2a57ed73089866c626;p=thirdparty%2Flxc.git compiler: -fdiagnostics-show-option Signed-off-by: Christian Brauner --- diff --git a/configure.ac b/configure.ac index 303a5d870..effba47e7 100644 --- a/configure.ac +++ b/configure.ac @@ -713,6 +713,7 @@ AX_CHECK_COMPILE_FLAG([-Wformat=2], [CFLAGS="$CFLAGS -Wformat=2"],,[-Werror]) AX_CHECK_COMPILE_FLAG([-Wshadow], [CFLAGS="$CFLAGS -Wshadow"],,[-Werror]) AX_CHECK_COMPILE_FLAG([-Wendif-labels], [CFLAGS="$CFLAGS -Wendif-labels"],,[-Werror]) AX_CHECK_COMPILE_FLAG([-Werror=overflow], [CFLAGS="$CFLAGS -Werror=overflow"],,[-Werror]) +AX_CHECK_COMPILE_FLAG([-fdiagnostics-show-option], [CFLAGS="$CFLAGS -fdiagnostics-show-option"],,[-Werror]) AX_CHECK_LINK_FLAG([-z relro], [LDLAGS="$LDLAGS -z relro"],,[]) AX_CHECK_LINK_FLAG([-z now], [LDLAGS="$LDLAGS -z now"],,[])