diff options
author | jkh <jkh@FreeBSD.org> | 1994-09-16 22:30:22 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-09-16 22:30:22 +0800 |
commit | f620735cf124b02e2a0700ff877d8d029107a369 (patch) | |
tree | 9eeebaf192a2f6b3a869d92c6ea83c31982a44c3 /Mk/bsd.port.subdir.mk | |
parent | 4e8499e4afa5836522ac4ecdfbc8d7fe96459d06 (diff) | |
download | freebsd-ports-gnome-f620735cf124b02e2a0700ff877d8d029107a369.tar.gz freebsd-ports-gnome-f620735cf124b02e2a0700ff877d8d029107a369.tar.zst freebsd-ports-gnome-f620735cf124b02e2a0700ff877d8d029107a369.zip |
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 'Mk/bsd.port.subdir.mk')
-rw-r--r-- | Mk/bsd.port.subdir.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index ef3e5671dfd2..ce81a18a5d97 100644 --- a/Mk/bsd.port.subdir.mk +++ b/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 |