[bug #68018] target-specific MAKEFLAGS ends up wrong if commandline overrides present

Dmitry Goncharov <[email protected]> Sat, 21 Mar 2026 15:38:48 -0400 (EDT)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
--8323329-1714636915-1774121928=:3193343
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #1, bug #68018 (group make):=0A=0ABy its nature MAKEFLAGS=
 is not target specific. MAKEFLAGS carries flags that=0Acontrol the behavio=
r of make. E.g. -O affects output for all targets. Same=0Awith other option=
s, -e.g. -n, etc. You put an option to MAKEFLAGS and it=0Aaffects all targe=
ts.=0AWhen you add --no-print-directory to target specific MAKEFLAGS, do yo=
u expect=0Amake to not print directory for this target and print directory =
for other=0Atargets? There is one global print_directory flag that controls=
 printing=0Adirectory for all targets.=0ASo, it is not really an issue with=
 command line variable definition. MAKEFLAGS=0Ais not target or pattern spe=
cific.=0A=0A=0A    _______________________________________________________=
=0A=0AReply to this item at:=0A=0A  <https://savannah.gnu.org/bugs/?68018>=
=0A=0A_______________________________________________=0AMessage sent via Sa=
vannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1774121928=:3193343
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCab7zyAAKCRCqLAuaBUf3
TvVtAQDBFYch3W56Y/dQe/0WY1Z6yCCygwzyp7N8StP9s16SDQEAkr8bDoMK+oAd
ui4Cvre0SnLOmGTRTjh+1bccDVZ6sw0=
=VJWA
-----END PGP SIGNATURE-----

--8323329-1714636915-1774121928=:3193343--