Date: Fri, 26 Jul 2013 22:41:52 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-arch@FreeBSD.org Subject: Re: amd64: -O2 even with DEBUG Message-ID: <77E59DA2-2110-4FB0-A8E3-0995E98E1DAA@FreeBSD.org> In-Reply-To: <51F221D4.8040308@FreeBSD.org> References: <51F221D4.8040308@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 26, 2013, at 09:14, Andriy Gapon <avg@freebsd.org> wrote: > I wonder why amd64 is distinguished to have -O2 in COPTFLAGS even when = DEBUG is > defined. For all other archs it's -O for that case. >=20 > Perhaps, this was discussed / explained in the past, but I would = appreciate it > being said again (or even written as a comment in kern.pre.mk). Yes please, I already suggested this some time ago, here: = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/030631.ht= ml though the first part of the patch I posted (making sure -frename-registers is only used for gcc) is already implemented. The only other part was to make amd64 use ${_MINUS_O} just like the other arches. -Dimitry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77E59DA2-2110-4FB0-A8E3-0995E98E1DAA>
