From: Christian Brauner Date: Mon, 11 Mar 2019 22:34:01 +0000 (+0100) Subject: compiler: -pipe X-Git-Tag: lxc-3.2.0~116^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40093c6f748f1601d1e0f6ce9a3771486158a2e;p=thirdparty%2Flxc.git compiler: -pipe Avoid temporary files, speeding up builds. Signed-off-by: Christian Brauner --- diff --git a/configure.ac b/configure.ac index fedffe3c9..28efe43e1 100644 --- a/configure.ac +++ b/configure.ac @@ -720,6 +720,7 @@ AX_CHECK_COMPILE_FLAG([-Werror=shift-overflow=2], [CFLAGS="$CFLAGS -Werror=shift AX_CHECK_COMPILE_FLAG([-Wdate-time], [CFLAGS="$CFLAGS -Wdate-time"],,[-Werror]) AX_CHECK_COMPILE_FLAG([-Wnested-externs], [CFLAGS="$CFLAGS -Wnested-externs"],,[-Werror]) AX_CHECK_COMPILE_FLAG([-fasynchronous-unwind-tables], [CFLAGS="$CFLAGS -fasynchronous-unwind-tables"],,[-Werror]) +AX_CHECK_COMPILE_FLAG([-pipe], [CFLAGS="$CFLAGS -pipe"],,[-Werror]) AX_CHECK_LINK_FLAG([-z relro], [LDLAGS="$LDLAGS -z relro"],,[]) AX_CHECK_LINK_FLAG([-z now], [LDLAGS="$LDLAGS -z now"],,[])