Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

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

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:52:30

Possibly related (same subject, not in this thread)

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help