From: Jeff King Date: Thu, 22 Jan 2015 13:00:36 GMT Subject: Re: [PATCH] Makefile: do not compile git with debugging symbols by default Message-ID: <20150122130036.GC19681@peff.net> In-Reply-To: <1421931037-21368-1-git-send-email-kuleshovmail@gmail.com> On Thu, Jan 22, 2015 at 06:50:37PM +0600, Alexander Kuleshov wrote: > Standard user has no need in debugging information. This patch adds > DEBUG=1 option to compile git with debugging symbols and compile without > it by default. This explanation is missing why it is beneficial _not_ to have the debugging information. I expect the answer is "it makes the executable smaller". And that is true, but it gets smaller still if you run "strip" on the result: $ make CFLAGS= >/dev/null 2>&1 && wc -c /dev/null 2>&1 && wc -c