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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 24, 2012 at 7:37 PM, Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]