From: Paolo Bonzini Date: Sat, 09 Jan 2010 10:32:07 GMT Subject: Re: [PATCH] Don't pass CFLAGS to the linker Message-ID: <4B485B27.2020404@gnu.org> In-Reply-To: <1261896918-1953-1-git-send-email-tom@dbservice.com> On 12/27/2009 07:55 AM, Tomas Carnecky wrote: > Signed-off-by: Tomas Carnecky > --- > > I don't remember exactly which tool had problems with CFLAGS being passed > to the linker. Maybe it was the clang static analyzer, or some other > tool that I let run on git.git. Anyway, I don't think there's any > reason to pass CFLAGS to the linker. One reason is if you want to use GCC's upcoming link-time optimization (-flto). Paolo