Files
make/src
Paul Smith f2771aa614 [SV 58341] Add non-trivial options to $(MAKEFLAGS)
Previously only trivial (single-letter) options were available in
$(MAKEFLAGS) when it is examined from inside a makefile (the full
value was set before expanding recipes).

Ensure that all options (but, not command line variable overrides!)
are visible in the $(MAKEFLAGS) variable.  In order to do this
reset the default values of options, particularly options which are
lists, before re-reading MAKEFLAGS after makefiles have been read.
Otherwise we'll get duplicate values for options such as -I.

Unfortunately there are complications here as well: sometimes (for
jobserver options in particular) we modify the values of these
options while running: we must not reset these modifications.

* NEWS: Announce this change
* src/main.c (main): Call new reset_switches() before re-parsing
MAKEFLAGS.
(reset_switches): Reset the value of non-special options to their
defaults.
(define_makeflags): Add non-special options into MAKEFLAGS even
if 'all' is not set.
2021-05-30 15:11:30 -04:00
..
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-11-29 17:59:40 -05:00
2021-03-28 16:25:52 -04:00
2021-03-28 16:25:52 -04:00
2021-03-15 01:17:06 -04:00
2021-03-15 01:17:06 -04:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00
2020-01-03 02:08:59 -05:00