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

Re: [PATCH] Makefile: limit specifying -DGIT_USER_AGENT=... to keep ccache efficient

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Jun 24, 2012, 14:56 UTC
Message-ID
<CACsJy8BJmDy4pXoKM2eHhh-R0BvTxgfYTn87qZsGffEfpOQDuA@mail.gmail.com>
In-Reply-To
<1340541457-9056-1-git-send-email-pclouds@gmail.com>
On Sun, Jun 24, 2012 at 7:37 PM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 6 quoted lines
> GIT_USER_AGENT changes as HEAD changes. Defining it in BASIC_FLAGS
> means every time HEAD changes, the compiling options for every object
> file is changed, which defeats the purpose of using ccache.
>
> As version.c is the only file that uses this definition, limit
> defining only when compiling this file.

Uhm.. something like this is in jk/version-string-dependency already. Sorry for the noise.

-- 
Duy
Previous: Nguyễn Thái Ngọc Duy
Message 2 of 2 in “Makefile: limit specifying -DGIT_USER_AGENT=... to keep ccache efficient”
  1. Makefile: limit specifying -DGIT_USER_AGENT=... to keep ccache efficientNguyễn Thái Ngọc Duy, Jun 24, 2012
  2. Nguyen Thai Ngoc DuyJun 24, 2012

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.