svn commit: r213774 - head/bin/sh

John Baldwin jhb at FreeBSD.org
Wed Oct 13 13:17:38 UTC 2010


Author: jhb
Date: Wed Oct 13 13:17:38 2010
New Revision: 213774
URL: http://svn.freebsd.org/changeset/base/213774

Log:
  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

Modified:
  head/bin/sh/Makefile

Modified: head/bin/sh/Makefile
==============================================================================
--- head/bin/sh/Makefile	Wed Oct 13 11:39:36 2010	(r213773)
+++ head/bin/sh/Makefile	Wed Oct 13 13:17:38 2010	(r213774)
@@ -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
 


More information about the svn-src-head mailing list