From owner-freebsd-current@FreeBSD.ORG Thu Dec 22 11:52:44 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEA3D106564A for ; Thu, 22 Dec 2011 11:52:44 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id A320A8FC08 for ; Thu, 22 Dec 2011 11:52:44 +0000 (UTC) Received: from [10.10.10.10] (unknown [217.157.7.216]) by csmtp3.one.com (Postfix) with ESMTPA id CCD592406C6B for ; Thu, 22 Dec 2011 11:52:43 +0000 (UTC) From: Erik Cederstrand Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Dec 2011 12:52:45 +0100 Message-Id: To: FreeBSD Current Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: GCC debug flags cleanup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 11:52:45 -0000 Hi, I've created a patch that cleans up FreeBSD Makefiles that = unconditionally set the -g flag for GCC. The motivation for this is that = it should be possible to add or remove this flag globally via e.g. = CFLAGS (it's part of my quest to produce deterministic builds). I'm not very familiar with GCC or the build infrastructure, so I'd be = grateful if someone would review it and possibly commit. http://dev.affect-it.dk/gcc_debug_flags.diff Thanks, Erik=