summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-10-13 13:17:38 +0000
committerjhb <jhb@FreeBSD.org>2010-10-13 13:17:38 +0000
commit630d6005f9fbb903a2005ffd4cf2bf1a72a65609 (patch)
tree61438f612f87d71d08e4e8f1b44dbc7e0d730476 /bin
parent74808bc8f59e9d6e3b2b6f0ea3838507f3bde5d3 (diff)
downloadFreeBSD-src-630d6005f9fbb903a2005ffd4cf2bf1a72a65609.zip
FreeBSD-src-630d6005f9fbb903a2005ffd4cf2bf1a72a65609.tar.gz
Suggest that DEBUG_FLAGS be used to enable extra debugging rather than
frobbing CFLAGS directly. DEBUG_FLAGS is something that can be specified on the make command line without having to edit the Makefile directly. Submitted by: Garrett Cooper
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index ee732f9..7be7b98 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -21,7 +21,7 @@ LDADD= -ll -ledit -ltermcap
LFLAGS= -8 # 8-bit lex scanner for arithmetic
CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
-# CFLAGS+= -g -DDEBUG=3
+# DEBUG_FLAGS+= -g -DDEBUG=3
WARNS?= 2
WFORMAT=0
OpenPOWER on IntegriCloud