Follow-up Comment #5, bug #65759 (group make):

I looked through the code.  This is explicitly handled, and ignored, with a
commit message by Roland from 1995 saying only:

commit 636435e5c25d39fc5d52edf936e8e7a410b31b1a
Author: Roland McGrath <rol...@redhat.com>
Date:   1995-03-07 22:31:01 +0000

    (decode_switches): If non-option arg is "-", ignore it.

So, I'm not sure why this was done or what the right thing to do is going
forward.  Maybe we should be printing a warning.  I wonder if it's there
because some makefiles contain recipes like this:

  submake:
          $(MAKE) -$(MAKEFLAGS)

where, if MAKEFLAGS is empty you get *make -*.

I will think about it.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65759>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to