summaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-05-15 06:10:22 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-05-15 06:10:22 +0000
commit1a4720735b150f9eed1b086068b33804b027e4bf (patch)
tree2d4c1cfcca8df79dcdfe436e1f2262a01e5ff645 /share/mk/bsd.own.mk
parentec93d5e14c9a1724996c1462a2e25c37f388dae6 (diff)
Add support for building libraries with debugging information in them.
Enable by setting DEBUGLIBS=yes in /etc/mk.conf, then -g libraries will get installed in /usr/lib/debug. This directory will be searched first if gcc is given the -g flag during the link stage.
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 67824e9bd7e..cb0e5e81b85 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.31 2000/03/31 18:03:54 espie Exp $
+# $OpenBSD: bsd.own.mk,v 1.32 2000/05/15 06:10:21 niklas Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -32,6 +32,9 @@ AFS?= no
.else
AFS?= yes
.endif
+# Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols
+DEBUGLIBS= no
+
# where the system object and source trees are kept; can be configurable
# by the user in case they want them in ~/foosrc and ~/fooobj, for example
BSDSRCDIR?= /usr/src