From 34f3e815d13e0381e4908bf49ca2f0b0b9b3b25b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 22 Apr 2005 05:21:49 +0000 Subject: 2005-04-21 H.J. Lu * Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE. (chew.o): Use it. * Makefile.in: Regenerate. --- bfd/doc/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bfd/doc/Makefile.am') diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index efa4082..d0ef00a 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -54,11 +54,14 @@ info_TEXINFOS = bfd.texinfo MKDOC = chew$(EXEEXT_FOR_BUILD) +INCLUDES = -D_GNU_SOURCE -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ + -I$(srcdir)/../../intl -I../../intl + $(MKDOC): chew.o $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) chew.o: chew.c - $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c + $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c protos: libbfd.h libcoff.h bfd.h -- cgit v1.1