bug-make
[Top][All Lists]
Advanced

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

[bug #35336] Altering MAKEFLAGS doesn't correctly alter the behavior of


From: Brian Vandenberg
Subject: [bug #35336] Altering MAKEFLAGS doesn't correctly alter the behavior of make
Date: Fri, 20 Jan 2012 08:01:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Ubuntu/10.04 Chromium/15.0.874.106 Chrome/15.0.874.106 Safari/535.2

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

                 Summary: Altering MAKEFLAGS doesn't correctly alter the
behavior of make
                 Project: make
            Submitted by: phantal
            Submitted on: Fri 20 Jan 2012 08:01:03 AM GMT
                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:

To verify this, I ran 3 separate tests:

* Test 1:
** Flags used: -p, entered from the command-line
* Test 2:
** Flags used: -Rrnp, entered from the command-line
* Test 3:
** Flags used: -Rrnp, added to MAKEFLAGS in a makefile


In each case, I ran:

gmake > testN.txt

... then compared them using meld.  Other than adding to MAKEFLAGS in test 3,
the makefile was empty.  The results were thus:

* Test 1: This had the most rules/variables (as you might expect)
* Test 2: There were no default-rules, and the variables emitted appear to be
variables that are part of make's functionality
* Test 3: There were fewer default rules & variables than test #1, but the
number of rules and variables that were emitted far exceeded the number that
weren't emitted.

Along these lines, but perhaps only cosmetic:  You get different output if you
pass -p on the command-line -vs- adding it to MAKEFLAGS.

I've attached 4 logs demonstrating these issues.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 20 Jan 2012 08:01:03 AM GMT  Name: minusp_cmdline.txt  Size: 24kB  
By: phantal

<http://savannah.gnu.org/bugs/download.php?file_id=24849>
-------------------------------------------------------
Date: Fri 20 Jan 2012 08:01:03 AM GMT  Name: Rrnp_cmdline.txt  Size: 6kB   By:
phantal

<http://savannah.gnu.org/bugs/download.php?file_id=24850>
-------------------------------------------------------
Date: Fri 20 Jan 2012 08:01:03 AM GMT  Name: minusp_invar.txt  Size: 24kB  
By: phantal

<http://savannah.gnu.org/bugs/download.php?file_id=24851>
-------------------------------------------------------
Date: Fri 20 Jan 2012 08:01:03 AM GMT  Name: Rrnp_invar.txt  Size: 23kB   By:
phantal

<http://savannah.gnu.org/bugs/download.php?file_id=24852>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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