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 Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/46750: make oddity expanding variables assigned to
with +=
Date: Mon, 30 Jul 2012 07:26:24 +0000
On Sun, Jul 29, 2012 at 02:05:03PM +0000, David Laight wrote:
> 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.
That's not true - try it.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index