From: Ian Lance Taylor Date: Tue, 31 Dec 1996 20:44:46 +0000 (+0000) Subject: * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the X-Git-Tag: gdb-4_18~6806 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3902dd397b059877981ee67ebb28cb4720cb7a1;p=external%2Fbinutils.git * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the end. (gprof): Put $(CFLAGS) after the other options. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 3d17369..621e6ec 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 31 15:44:10 1996 Ian Lance Taylor + + * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the + end. + (gprof): Put $(CFLAGS) after the other options. + Tue Nov 26 17:08:38 1996 Ian Lance Taylor * configure: Rebuild with autoconf 2.12. diff --git a/gprof/Makefile.in b/gprof/Makefile.in index a9bce7a..2b4402e 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -56,7 +56,7 @@ LDFLAGS= HLDFLAGS = @HLDFLAGS@ HLDENV = @HLDENV@ .c.o: - $(CC) -c $(CFLAGS) -I. -I$(srcdir) -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MY_TARGET).h\" $(TCFLAGS) $(HCFLAGS) $< + $(CC) -c -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MY_TARGET).h\" $(TCFLAGS) $(HCFLAGS) $(CFLAGS) $< all: $(GEN_FILES) $(PROG) @@ -104,7 +104,7 @@ install: all $(INSTALL_XFORM1) $(srcdir)/gprof.1 $(man1dir)/gprof.1 gprof: $(OBJS) $(LIBDEPS) - $(HLDENV) $(CC) -o $(PROG) $(CFLAGS) $(HLDFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) + $(HLDENV) $(CC) -o $(PROG) $(HLDFLAGS) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LIBS) mostlyclean: -rm -f *.o core gprof nohup.out \