bug-make
[Top][All Lists]
Advanced

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

[bug #61218] The -e option confuses the $(origin )


From: Paul D. Smith
Subject: [bug #61218] The -e option confuses the $(origin )
Date: Sun, 8 Jan 2023 16:50:44 -0500 (EST)

Update of bug #61218 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 
       Component Version:                    None => 4.3                    
        Operating System:                    None => Any                    
           Fixed Release:                    None => SCM                    
           Triage Status:                    None => Small Effort           

    _______________________________________________________

Follow-up Comment #1:

This was a little odd.  The problem is that if -e is given, due to a weird set
of coincidences, the MAKEFLAGS variable is not expanded before it's passed to
jobs via the environment.  If -e is *not* given, then MAKEFLAGS *is*
expanded.

This was difficult to see in practice since, although command line overrides
were not not present in MAKEFLAGS as expected, they were in the environment
and since -e was given those took precedence over the makefile settings.  But,
it was possible to tell via the origin function as Masahiro discovered.

I've pushed a fix for this.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61218>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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