From 9b82034b29a4ca716cc54cc1546fdeae760c4d85 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 28 Jun 2012 08:26:00 +0000 Subject: [PATCH] * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS. * doc/Makefile.in: Regenerate. --- newlib/ChangeLog | 5 +++++ newlib/doc/Makefile.am | 2 +- newlib/doc/Makefile.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5a1ef56af..f3bb3db4e 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2012-06-28 Matthew Gretton-Dann + + * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS. + * doc/Makefile.in: Regenerate. + 2012-06-26 Christopher Faylor * libc/include/sys/types.h: Don't use the same preprocessor guard for diff --git a/newlib/doc/Makefile.am b/newlib/doc/Makefile.am index 5bf13599a..c86300780 100644 --- a/newlib/doc/Makefile.am +++ b/newlib/doc/Makefile.am @@ -12,7 +12,7 @@ MKDOC = makedoc$(EXEEXT_FOR_BUILD) # -Os, which CC_FOR_BUILD may not recognize. $(MKDOC): makedoc.o - $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $(MKDOC) makedoc.o makedoc.o: makedoc.c $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c diff --git a/newlib/doc/Makefile.in b/newlib/doc/Makefile.in index 62378354b..b9e3ad361 100644 --- a/newlib/doc/Makefile.in +++ b/newlib/doc/Makefile.in @@ -324,7 +324,7 @@ uninstall-am: # -Os, which CC_FOR_BUILD may not recognize. $(MKDOC): makedoc.o - $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS) -o $(MKDOC) makedoc.o + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $(MKDOC) makedoc.o makedoc.o: makedoc.c $(CC_FOR_BUILD) -g $(CFLAGS_FOR_BUILD) -c $(srcdir)/makedoc.c