[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23793] MAKEFLAGS with only variable settings X=y does not work pro
From: |
Roland Bless |
Subject: |
[bug #23793] MAKEFLAGS with only variable settings X=y does not work properly |
Date: |
Mon, 07 Jul 2008 13:04:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0 |
URL:
<http://savannah.gnu.org/bugs/?23793>
Summary: MAKEFLAGS with only variable settings X=y does not
work properly
Project: make
Submitted by: rbless
Submitted on: Montag 07.07.2008 um 13:04
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
If you call make with a variable override X=y it will
not be propagated correctly to other Makefiles:
make TARGET=success
will lead to
make -f Makefile.sub -$(MAKEFLAGS)
being expanded into
make -f Makefile.sub -TARGET=success
but using
make -w TARGET=SUCCESS
will correctly expand to
make -f Makefile.sub -w -- TARGET=SUCCESS
See attached Makefiles as an example
make TARGET=success
fails badly, whereas
make -w TARGET=success
succeeds. To my understanding
make TARGET=success
should expand "make -f Makefile.sub -$(MAKEFLAGS)" to
make -f Makefile.sub -- TARGET=success
Platform: Linux, Ubuntu 8.04, make -v
GNU Make 3.81
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Montag 07.07.2008 um 13:04 Name: Makefile Size: 88B By: rbless
Makefiles for demonstrating the bug.
<http://savannah.gnu.org/bugs/download.php?file_id=16017>
-------------------------------------------------------
Date: Montag 07.07.2008 um 13:04 Name: Makefile.sub Size: 128B By: rbless
Makefiles for demonstrating the bug.
<http://savannah.gnu.org/bugs/download.php?file_id=16018>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23793>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #23793] MAKEFLAGS with only variable settings X=y does not work properly,
Roland Bless <=