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

Dmitry Goncharov <[email protected]> Wed, 1 Apr 2026 20:07:33 -0400 (EDT)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
--8323329-1714636915-1775088453=:2140498
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #3, bug #68018 (group make):=0A=0A=0A> The expectation wa=
s that sub-make(s) under that target won't print=0A> directories.=0A=0AThat=
's the expected expectation. This is not how make works though. Do not=0Awo=
rry about 4.3. Makeflags was never target specific, even in 4.3.=0AYou can =
pass --no-print-directories to submake explicitly.=0A=0A=0Abad:; $(MAKE) al=
l foo=3Dbar=0Agood:; $(MAKE) --no-print-directory all=0A=0A=0A=0A=0A    ___=
____________________________________________________=0A=0AReply to this ite=
m at:=0A=0A  <https://savannah.gnu.org/bugs/?68018>=0A=0A__________________=
_____________________________=0AMessage sent via Savannah=0Ahttps://savanna=
h.gnu.org/=0A
--8323329-1714636915-1775088453=:2140498
Content-Type: APPLICATION/pgp-signature; name=signature.asc

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCac2zRQAKCRCqLAuaBUf3
TqXJAP9S1+V6hF+AUi+yb5OAnRBK2kaqdla5d8ogW9JV+3ugxQEAk0IodQ3QtowY
sB/4N6coUnc1tMOVaCV9CLzwyP92lAw=
=nURl
-----END PGP SIGNATURE-----

--8323329-1714636915-1775088453=:2140498--