Re: [PATCH] Don't pass CFLAGS to the linker
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Jan 9, 2010, 10:32 UTC
- 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:
Show 7 quoted lines
> Signed-off-by: Tomas Carnecky<tom@dbservice.com> > --- > > 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