git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Fredrik Kuivinen <frekui@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH resend] Makefile: Use computed header dependencies if the compiler supports it
Date: Sun, 14 Aug 2011 15:02:55 -0500	[thread overview]
Message-ID: <20110814200255.GC16819@elie.gateway.2wire.net> (raw)
In-Reply-To: <CALx8hKRBjXr44gM1JA+d=RU80pmruPV56s-G3JvViz87eJ=ajQ@mail.gmail.com>

Fredrik Kuivinen wrote:
> On Sun, Aug 14, 2011 at 21:00, Jonathan Nieder <jrnieder@gmail.com> wrote:

>> I wonder if we can make do with a faster check, like
>>
>>        $(CC) -c -MF /dev/null -MMD -MP git.c --help >/dev/null 2>&1
>>
>> What do you think?
[...]
> Without patch (with COMPUTE_HEADER_DEPENDENCIES=Yes):

The case to compare against is when COMPUTE_HEADER_DEPENDENCIES is not
set, I'd think, since that is the status quo.  And I was talking about
commands like "make clean" that do not care about that feature, not
"make all".

[...]
> With patch, but changed to use git.c instead of ++empty.c:

Did you try with "--help"?

  reply	other threads:[~2011-08-14 20:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-14 18:45 [PATCH resend] Makefile: Use computed header dependencies if the compiler supports it Fredrik Kuivinen
2011-08-14 19:00 ` Jonathan Nieder
2011-08-14 19:53   ` Fredrik Kuivinen
2011-08-14 20:02     ` Jonathan Nieder [this message]
2011-08-18 18:34       ` Fredrik Kuivinen
2011-08-18 18:41         ` Jonathan Nieder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110814200255.GC16819@elie.gateway.2wire.net \
    --to=jrnieder@gmail.com \
    --cc=frekui@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).