This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [Patch] Fix for libgloss configure when LDFLAGS contains whitespace
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: newlib at sourceware dot org, Marko Lindqvist <cazfi74 at gmail dot com>
- Date: Sat, 10 May 2008 17:01:36 -0400
- Subject: Re: [Patch] Fix for libgloss configure when LDFLAGS contains whitespace
- References: <ed7813ad0805101308q34ad74fdmb69c4e9812256e65@mail.gmail.com>
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.
cgf
>diff -Nurd newlib-1.16.0/libgloss/configure.in newlib-1.16.0/libgloss/configure.in
>--- newlib-1.16.0/libgloss/configure.in 2007-02-08 23:22:05.000000000 +0200
>+++ newlib-1.16.0/libgloss/configure.in 2008-05-05 19:30:32.000000000 +0300
>@@ -179,7 +179,7 @@
> CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
> libgloss_topdir=${libgloss_topdir}
> CC="${CC}"
>-LDFLAGS=${LDFLAGS}
>+LDFLAGS="${LDFLAGS}"
> )
> AC_OUTPUT
>