git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Tomas Carnecky
Message 2 of 2 in “Don't pass CFLAGS to the linker”
  1. Don't pass CFLAGS to the linkerTomas Carnecky, Dec 27, 2009
  2. Paolo BonziniJan 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.