Skip to content

Commit 1820527

Browse files
author
Bryan Henderson
committed
Put back -lm for non-nextstep ports.
1 parent 05b0f22 commit 1820527

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Makefile.global

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.90 1997/01/14 06:41:51 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.91 1997/01/14 08:19:41 bryanh Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -702,11 +702,15 @@ endif
702702

703703

704704
ifeq ($(PORTNAME), nextstep)
705-
LDADD_BE+= -lipc -lm
705+
LDADD_BE+= -lipc
706706
AROPT= rc
707707
DLSUFFIX= .o
708708
endif
709709

710+
ifneq ($(PORTNAME), nextstep)
711+
LD_ADD+= -lm
712+
endif
713+
710714
# This goes here so that customization in Makefile.custom is effective
711715
##############################################################################
712716

0 commit comments

Comments
 (0)