From b10f0503ba72834998e1a1e907e799f78dc84258 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 14 Feb 2009 19:08:44 +0000 Subject: [PATCH] Add -pipe for C/C++. Originally committed to SVN as r2732. --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index b2636878b..bbd01e510 100644 --- a/configure.in +++ b/configure.in @@ -219,6 +219,7 @@ if test "$enable_compiler_flags" != "no"; then AC_C_FLAG([-Wextra],[AC_C_FLAG([-W])]) AC_C_FLAG([-Wno-unused-parameter]) AC_C_FLAG([-std=gnu99]) + AC_C_FLAG([-pipe]) AC_CXX_FLAG([-Wall]) AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])]) AC_CXX_FLAG([-Wno-unused-parameter]) @@ -226,6 +227,7 @@ if test "$enable_compiler_flags" != "no"; then AC_CXX_FLAG([-fpermissive]) AC_CXX_FLAG([-fno-strict-aliasing]) AC_CXX_FLAG([-std=c++98]) + AC_CXX_FLAG([-pipe]) # -O* messes with debugging. if test "$enable_debug" != "yes"; then