From: Christian Brauner Date: Mon, 11 Mar 2019 22:34:01 +0000 (+0100) Subject: compiler: -pipe X-Git-Tag: lxc-3.0.4~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6cf5e2a37c1f6f3c7c804d693fe7ca8e78aa6a9;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 4dd0979e1..3c8baf2b3 100644 --- a/configure.ac +++ b/configure.ac @@ -712,6 +712,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"],,[])