summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-03-31 11:04:43 +1100
committerDarren Tucker <dtucker@zip.com.au>2017-03-31 11:04:43 +1100
commitd9048861bea842c4eba9c2dbbf97064cc2a5ef02 (patch)
tree26abcc6404f42326c631697ba835a65a2f1a7907
parent282cad2240c4fbc104c2f2df86d688192cbbe4bb (diff)
Check for and use gcc's -pipe.
Speeds up configure and build by a couple of percent. ok djm@
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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; }]])],
179CFLAGS="$saved_CFLAGS" 179CFLAGS="$saved_CFLAGS"
180 180
181if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 181if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
182 OSSH_CHECK_CFLAG_COMPILE([-pipe])
182 OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments]) 183 OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments])
183 OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option]) 184 OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option])
184 OSSH_CHECK_CFLAG_COMPILE([-Wall]) 185 OSSH_CHECK_CFLAG_COMPILE([-Wall])