Re: [PATCH] Makefile: add option to disable automatic dependency generation

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

 



Junio C Hamano wrote:

> Eek. At least at the end user UI level, couldn't we do this as a tristate?
> E.g. "YesPlease" (or anything that begins with Y if you are ambitious) to
> explicitly enable, empty (or "auto") to autodetect, and anything else to
> decline?

Ah, I didn't mind the UI so much.  Handling

	COMPUTE_HEADER_DEPENDENCIES_FORCE = (yes | no | auto)

should be doable.  I'd suggest making any other value error out, so
typos don't result in mysterious behavior.

> Even better, couldn't we either (1) rearrange .dep/ files somehow, so that
> compiler difference does not matter

Yes, I'm working on an incantation all the compilers like (it
shouldn't be hard --- adding an -MQ option should be enough, but I
want to understand the bug first).  But even with such a fix, I think
it will be important to have a way to turn the feature off.  When
someone using a compiler without -MMD support reports a bug, wouldn't
it be nice to be able to reproduce it?
--
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]