[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25697] Segmentation fault setting .DEFAULT_GOAL
From: |
Paul D. Smith |
Subject: |
[bug #25697] Segmentation fault setting .DEFAULT_GOAL |
Date: |
Mon, 01 Jun 2009 02:29:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10 |
Update of bug #25697 (project make):
Status: None => Fixed
Assigned to: None => psmith
Open/Closed: Open => Closed
Fixed Release: None => CVS
_______________________________________________________
Follow-up Comment #2:
The issue here is by doing this:
.DEFAULT_GOAL := $(myDefaultGoal) #restore the previous default rule
you are actually setting the .DEFAULT_GOAL variable to contain a single space
rather than an empty string--make always preserves all TRAILING whitespace
after a value, so any space between the value and a comment, for example, is
included in the value.
Obviously make should not crash even so, and I've fixed this bug; now you'll
get:
make: *** No targets. Stop.
I also noticed make wasn't expanding this variable before use, which is
wrong. Fixed that too.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25697>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #25697] Segmentation fault setting .DEFAULT_GOAL,
Paul D. Smith <=