From f12f3dbeee1c39bcd270ea85b9b1219e5c8ca65e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 13 Oct 2010 13:17:38 +0000 Subject: [PATCH] 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 --- bin/sh/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sh/Makefile b/bin/sh/Makefile index ee732f9ada9..7be7b989cbd 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