diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-12-31 20:44:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-12-31 20:44:46 +0000 |
commit | b3902dd397b059877981ee67ebb28cb4720cb7a1 (patch) | |
tree | 4c31c12fef13aab1eeed838ba84f9ce05a4716a8 /gprof | |
parent | 6ded661565d1249128822ddfcf3232db8c8cdae2 (diff) | |
download | gdb-b3902dd397b059877981ee67ebb28cb4720cb7a1.zip gdb-b3902dd397b059877981ee67ebb28cb4720cb7a1.tar.gz gdb-b3902dd397b059877981ee67ebb28cb4720cb7a1.tar.bz2 |
* Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the
end.
(gprof): Put $(CFLAGS) after the other options.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/Makefile.in | 4 |
2 files changed, 8 insertions, 2 deletions
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 <ian@cygnus.com> + + * 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 <ian@cygnus.com> * 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 \ |