[Patch] Fix for libgloss configure when LDFLAGS contains whitespace

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Sun May 11 21:12:00 GMT 2008


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
> 



More information about the Newlib mailing list