From 182052767ad60e77e2ddbae8b18782b5f26ee269 Mon Sep 17 00:00:00 2001
From: Bryan Henderson <bryanh@giraffe.netgate.net>
Date: Tue, 14 Jan 1997 08:19:41 +0000
Subject: [PATCH] Put back -lm for non-nextstep ports.

---
 src/Makefile.global | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.global b/src/Makefile.global
index 5f577e8a2ac..f63e76d78ee 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.90 1997/01/14 06:41:51 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.91 1997/01/14 08:19:41 bryanh Exp $
 #
 # NOTES
 #    Essentially all Postgres make files include this file and use the 
@@ -702,11 +702,15 @@ endif
 
 
 ifeq ($(PORTNAME), nextstep)
-LDADD_BE+= -lipc -lm
+LDADD_BE+= -lipc
 AROPT= rc
 DLSUFFIX= .o
 endif
 
+ifneq ($(PORTNAME), nextstep)
+LD_ADD+= -lm
+endif
+
 # This goes here so that customization in Makefile.custom is effective
 ##############################################################################
 
-- 
GitLab