From owner-svn-src-head@FreeBSD.ORG Wed Oct 13 13:17:38 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8219E10656B1; Wed, 13 Oct 2010 13:17:38 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 709C38FC13; Wed, 13 Oct 2010 13:17:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9DDHcTi088508; Wed, 13 Oct 2010 13:17:38 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9DDHcB7088506; Wed, 13 Oct 2010 13:17:38 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201010131317.o9DDHcB7088506@svn.freebsd.org> From: John Baldwin Date: Wed, 13 Oct 2010 13:17:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213774 - head/bin/sh X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 13:17:38 -0000 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