This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [RFA] makedoc target should use LDFLAGS_FOR_BUILD
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 28 Jun 2012 10:26:20 +0200
- Subject: Re: [RFA] makedoc target should use LDFLAGS_FOR_BUILD
- References: <4FEADC95.6000207@arm.com>
- Reply-to: newlib at sourceware dot org
On Jun 27 11:12, Matthew Gretton-Dann wrote:
> All,
>
> When doing some independent changes I found that the makedoc target in
> newlib/doc is using LDFLAGS when linking.
>
> This is incorrect as makedoc is built using the build compiler
> (CC_FOR_BUILD), and LDFLAGS contains the target linker flags.
>
> The attached patch corrects the Makefile to use LDFLAGS_FOR_BUILD for
> the makedoc target.
>
> newlib/ChangeLog:
> 2012-06-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
> * doc/Makefile.in: Regenerate.
>
> OK?
Yes, thanks for catching. Patch applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat