[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63347] make 4.4 change in behavior for sub-make invoked via $(shel

From: Dmitry Goncharov
Subject: [bug #63347] make 4.4 change in behavior for sub-make invoked via $(shell)
Date: Sun, 27 Nov 2022 09:31:10 -0500 (EST)

Follow-up Comment #9, bug #63347 (project make):

> Differences that I could spot:
> - there's "rR" instead of "-rR"
> - "-rR" is at the beginning not at the end
> - MAKE_OPTS are part of MAKEFLAGS --

Well defined MAKEFLAGS has the following format
[shortoptions] [-option with arg]... [--long option]... [ -- cli definitions]
rRs -Isrc -j2 -Orecurse --jobserver-auth=fifo:/tmp/GMfifo14676
--no-print-directory -- H=h C=c A=a

makefile can contain something like

Once parsing is over make rearranges MAKEFLAGS to conform to this format.
This patch causes make to do this rearrangement at parse time, each time
MAKEFLAGS is modified.
You observe the differences between a defined MAKEFLAGS and not defined

> that's what confuses kernel's build system since it merely looks for 's' in
> MAKEFLAGS after stripping long options: 

Thanks for your report.
i submitted a patch here


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]