mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
Check for and use gcc's -pipe.
Speeds up configure and build by a couple of percent. ok djm@
This commit is contained in:
parent
282cad2240
commit
d9048861be
@ -179,6 +179,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int main(void) { return 0; }]])],
|
|||||||
CFLAGS="$saved_CFLAGS"
|
CFLAGS="$saved_CFLAGS"
|
||||||
|
|
||||||
if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
|
if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
|
||||||
|
OSSH_CHECK_CFLAG_COMPILE([-pipe])
|
||||||
OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments])
|
OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments])
|
||||||
OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option])
|
OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option])
|
||||||
OSSH_CHECK_CFLAG_COMPILE([-Wall])
|
OSSH_CHECK_CFLAG_COMPILE([-Wall])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user