summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-16 14:30:25 +0000
committerjkh <jkh@FreeBSD.org>1994-09-16 14:30:25 +0000
commit7aa31544d63c08b97a4c9b329c2e33d97d17d977 (patch)
treea12ad3c3e705a4ec43a69b9e00f35a66b65f4ad6 /share/mk/bsd.port.subdir.mk
parentf40d319a8685d1524f17f2e46cffef6bf9763224 (diff)
downloadFreeBSD-src-7aa31544d63c08b97a4c9b329c2e33d97d17d977.zip
FreeBSD-src-7aa31544d63c08b97a4c9b329c2e33d97d17d977.tar.gz
Add support for DEBUG_FLAGS. If you say something like:
make DEBUG_FLAGS=-g2 You can compile something for debugging at debugging level 2. It will also take care not to strip the resulting executable(s).
Diffstat (limited to 'share/mk/bsd.port.subdir.mk')
-rw-r--r--share/mk/bsd.port.subdir.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.port.subdir.mk b/share/mk/bsd.port.subdir.mk
index ef3e567..ce81a18 100644
--- a/share/mk/bsd.port.subdir.mk
+++ b/share/mk/bsd.port.subdir.mk
@@ -1,9 +1,11 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.port.subdir.mk,v 1.3 1994/08/22 13:02:16 jkh Exp $
+# $Id: bsd.port.subdir.mk,v 1.4 1994/09/14 16:42:37 jkh Exp $
.MAIN: all
+.if !defined(DEBUG_FLAGS)
STRIP?= -s
+.endif
BINGRP?= bin
BINOWN?= bin
OpenPOWER on IntegriCloud