* Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the

end.
	(gprof): Put $(CFLAGS) after the other options.
This commit is contained in:
Ian Lance Taylor 1996-12-31 20:44:46 +00:00
parent 6ded661565
commit b3902dd397
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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 \