summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-27 12:34:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-27 12:34:52 +0000
commit375c5f59ab1a181ca1897d40106162d76ec17959 (patch)
tree1015463f10363970b62ed03e703aa28490f44146
parent083a032195a24290d5894ea81c18ec82da4242a2 (diff)
NOPROFILE; from Mathieu.Herrb@mipnet.fr
-rw-r--r--lib/libm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index 4943469bc5b..c731e7098dd 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
-# $OpenBSD: Makefile,v 1.6 1996/10/25 00:03:05 downsj Exp $
+# $OpenBSD: Makefile,v 1.7 1996/10/27 12:34:51 deraadt Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -137,7 +137,9 @@ MAN+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
.if (${MACHINE_ARCH} == "i386")
LINKS= /usr/lib/libm.a /usr/lib/libm_i387.a
+.if !defined(NOPROFILE)
LINKS+= /usr/lib/libm_p.a /usr/lib/libm_i387_p.a
+.endif
LINKS+= /usr/lib/libm.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
/usr/lib/libm_i387.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
LINKS+= /usr/lib/libm_pic.a /usr/lib/libm_i387_pic.a