bugmake - Bugs: bug #58341, `make --debug` does not set 'd' in...


bug #58341: `make --debug` does not set 'd' in MAKEFLAGS

Submitted by:  Roy Ivy <rivy>
Submitted on:  Sat 09 May 2020 06:22:15 PM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.2.1 Operating System:  None
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 09 May 2020 06:22:15 PM UTC, original submission:  

OS=Windows_NT (Win10)

When executing make in a specific debug mode using the `--debug[=FLAGS]` option and tested in the Makefile, ${MAKEFILE} does not have the 'd' flag within it. Oddly, when printing the database with `-p` (or `--print-data-base`), the "# Variables" section contains:

# makefile

During the same execution, `$(info MAKEFLAGS=${MAKEFLAGS})` prints "MAKEFLAGS=p" (no d).

When executed with `-d` at the command line, the "d" is included in the normally accessible MAKEFLAGS variable.

Is this the expected behavior?
How can I access the "MAKEFLAGS" value printed in the database?

Thanks for your attention.

Roy Ivy <rivy>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rivy (Submitted the item)
  • -email is unavailable- added by rivy

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-09 rivy Carbon-Copy- => Added roy.ivy.iii@gmail.com

    Back to the top

    Powered by Savane 3.5