NetBSD-Bugs archive

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

Re: toolchain/46750: make oddity expanding variables assigned to with +=



The following reply was made to PR toolchain/46750; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/46750: make oddity expanding variables assigned to with 
+=
Date: Sun, 29 Jul 2012 14:58:13 +0100

 This is the way make works.
 make variables hold character strings and have to maintain any
 embedded white space.
 In certain places the variable contents are treated as white-space
 separated tokens (usually filenames).
 
 Whitespace after = (or :=) can be removed, but whitespace
 after += must be kept - otherwise you can't build strings.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index