[RFA] makedoc target should use LDFLAGS_FOR_BUILD

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Mon Jul 9 19:23:00 GMT 2012


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?

Thanks,

Matt
-- 
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-makedoc-target-should-use-LDFLAGS_FOR_BUILD.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120709/1b4701f5/attachment.bin>


More information about the Newlib mailing list