From c568b8fbe7f8f9e869fc78babbecd22884c7856f Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 9 Oct 2003 22:55:46 +0000
Subject: [PATCH] Remove -pipe from compiles.

---
 src/template/aix     | 4 +---
 src/template/bsdi    | 2 --
 src/template/freebsd | 2 --
 src/template/netbsd  | 2 --
 src/template/openbsd | 1 -
 5 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/template/aix b/src/template/aix
index bdd7b08cb8d..f72be4f9a05 100644
--- a/src/template/aix
+++ b/src/template/aix
@@ -1,6 +1,4 @@
-if test "$GCC" = yes ; then
-  CFLAGS="$CFLAGS -pipe"
-else
+if test "$GCC" != yes ; then
   case $host_os in
     aix3.2.5 | aix4.1*) ;;
     *) CFLAGS="$CFLAGS -O2 -qlonglong";;
diff --git a/src/template/bsdi b/src/template/bsdi
index acf8dcfc47c..70b27910a17 100644
--- a/src/template/bsdi
+++ b/src/template/bsdi
@@ -1,5 +1,3 @@
-#CFLAGS="$CFLAGS -pipe"
-
 case $host_cpu in
   i?86)  CFLAGS="$CFLAGS -m486";;
 esac
diff --git a/src/template/freebsd b/src/template/freebsd
index fd9b3b96d5a..fbf01fcd8aa 100644
--- a/src/template/freebsd
+++ b/src/template/freebsd
@@ -1,5 +1,3 @@
-CFLAGS="$CFLAGS -pipe"
-
 case $host_cpu in
   alpha*)   CFLAGS="$CFLAGS -O";;  # alpha has problems with -O2
 esac
diff --git a/src/template/netbsd b/src/template/netbsd
index cab6fd3d3d9..0d119a01361 100644
--- a/src/template/netbsd
+++ b/src/template/netbsd
@@ -1,4 +1,2 @@
-CFLAGS="$CFLAGS -pipe"
-
 THREAD_SUPPORT=yes
 NEED_REENTRANT_FUNCS=yes	# 1.6 2003-09-14
diff --git a/src/template/openbsd b/src/template/openbsd
index ca7840ec02a..e69de29bb2d 100644
--- a/src/template/openbsd
+++ b/src/template/openbsd
@@ -1 +0,0 @@
-CFLAGS="$CFLAGS -pipe"
-- 
GitLab