[Top][All Lists]

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

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

From: Roy Ivy
Subject: [bug #58341] `make --debug` does not set 'd' in MAKEFLAGS
Date: Sat, 9 May 2020 14:22:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36


                 Summary: `make --debug` does not set 'd' in MAKEFLAGS
                 Project: make
            Submitted by: 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
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: None
           Fixed Release: None
           Triage Status: None



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.


Reply to this item at:


  Message sent via Savannah

reply via email to

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