Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 13:17:38 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213774 - head/bin/sh
Message-ID:  <201010131317.o9DDHcB7088506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010131317.o9DDHcB7088506>