From: Darren Tucker Date: Fri, 31 Mar 2017 00:04:43 +0000 (+1100) Subject: Check for and use gcc's -pipe. X-Git-Tag: V_7_6_P1~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9048861bea842c4eba9c2dbbf97064cc2a5ef02;p=thirdparty%2Fopenssh-portable.git Check for and use gcc's -pipe. Speeds up configure and build by a couple of percent. ok djm@ --- diff --git a/configure.ac b/configure.ac index ab58b982b..f7a04d551 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])], CFLAGS="$saved_CFLAGS" if test "$GCC" = "yes" || test "$GCC" = "egcs"; then + OSSH_CHECK_CFLAG_COMPILE([-pipe]) OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments]) OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option]) OSSH_CHECK_CFLAG_COMPILE([-Wall])