[Patch] Fix for libgloss configure when LDFLAGS contains whitespace

Marko Lindqvist cazfi74@gmail.com
Sun May 11 22:38:00 GMT 2008


2008/5/11 Christopher Faylor:
> On Sat, May 10, 2008 at 11:08:42PM +0300, Marko Lindqvist wrote:
>  > libgloss configure fails when LDFLAGS contains space. Obvious fix attached.
>
>  This can't be right.  That would make all options specified in LDFLAGS
>  into one argument.

 As it should. We are talking about setting environment variable in
shell script. Can't have several values in one variable :-)

 It makes generated shell script config.status to contain
 LDFLAGS="foo bar"
 instead of
 LDFLAGS=foo bar


 > testvar=foo bar
bash: bar: command not found



 - ML



More information about the Newlib mailing list