diff options
author | Michael Meissner <gnu@the-meissners.org> | 1997-02-11 18:56:35 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1997-02-11 18:56:35 +0000 |
commit | f9114af581291362a099dacdad35499bbe0aa400 (patch) | |
tree | 2d0d570e4ca025f73f1938bdb1a212b5044e7b66 /sim/ppc | |
parent | c45adab0b9297709efac3886722e2b446bd3a7f9 (diff) | |
download | binutils-gdb-f9114af581291362a099dacdad35499bbe0aa400.tar.gz |
Fix warnings when compiling callback.c
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/ChangeLog | 5 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 075ff3c732f..83c76ccce12 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 11 13:49:10 1997 Michael Meissner <meissner@tiktok.cygnus.com> + + * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c + includes our config.h. + Tue Feb 4 13:42:59 1997 Doug Evans <dje@canuck.cygnus.com> * configure.in: Fix typo in test for callback.c. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 365164e27ce..46644b284fe 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -403,8 +403,8 @@ targ-map.c: Makefile gentmap $(srcdir)/../../move-if-change ./gentmap -c > tmp-map.c $(srcdir)/../../move-if-change tmp-map.c targ-map.c -callback.o: ../common/callback.c targ-vals.h - $(CC) -c $(STD_CFLAGS) $< +callback.o: ../common/callback.c targ-vals.h config.h + $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $< targ-map.o: targ-map.c targ-vals.h |