bug-make
[Top][All Lists]
Advanced

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

[bug #33129] MAKEOVERRIDES reset after a recursive 'make restart'


From: anonymous
Subject: [bug #33129] MAKEOVERRIDES reset after a recursive 'make restart'
Date: Tue, 19 Apr 2011 20:35:22 +0000
User-agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.9.2.16) Gecko/20110410 Namoroka/3.6.16

URL:
  <http://savannah.gnu.org/bugs/?33129>

                 Summary: MAKEOVERRIDES reset after a recursive 'make restart'
                 Project: make
            Submitted by: None
            Submitted on: Tue 19 Apr 2011 08:35:21 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Hi,

It seems there is a problem with MAKEOVERRIDES that is reset when a recursive
make restarts itself (after rebuilding an included Makefile).

The following Makefile:
all:; @echo M1=${MAKEOVERRIDES}; rm -f test.mk; ${MAKE} fail
fail:; @echo M2=${MAKEOVERRIDES}; rm -f test.mk
-include test.mk
test.mk:; @touch $@

produces the following output when run with `make VAR=x`:
M1=VAR=x
M2=

Commenting out either the '-include' or the test.mk rule will output:
M1=VAR=x
M2=VAR=x

I'm not sure which is wrong, but it seems at least inconsistent.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33129>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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