From b42a73ec9f3eef813fe0a475b6b4b49e63809420 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 30 Nov 2004 21:55:48 +0000 Subject: [PATCH] glib/Makefile.am (glib.def) gcc -E complains "linker unused because 2004-11-30 Tor Lillqvist * glib/Makefile.am (glib.def) * gobject/Makefile.am (gobject.def): gcc -E complains "linker unused because linking not done" if told to preprocess an *.symbols file. Use '-' and redirection to pass it as standard input instead. --- ChangeLog | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-12 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ glib/Makefile.am | 2 +- gobject/ChangeLog | 7 +++++++ gobject/Makefile.am | 2 +- 8 files changed, 44 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f09a4ea..ff837f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * glib/Makefile.am (glib.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + glib.symbols file. Use '-' and redirection to pass it as standard + input instead. + 2004-11-30 Matthias Clasen * NEWS: Updates diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f09a4ea..ff837f5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * glib/Makefile.am (glib.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + glib.symbols file. Use '-' and redirection to pass it as standard + input instead. + 2004-11-30 Matthias Clasen * NEWS: Updates diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index f09a4ea..ff837f5 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * glib/Makefile.am (glib.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + glib.symbols file. Use '-' and redirection to pass it as standard + input instead. + 2004-11-30 Matthias Clasen * NEWS: Updates diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f09a4ea..ff837f5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * glib/Makefile.am (glib.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + glib.symbols file. Use '-' and redirection to pass it as standard + input instead. + 2004-11-30 Matthias Clasen * NEWS: Updates diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f09a4ea..ff837f5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * glib/Makefile.am (glib.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + glib.symbols file. Use '-' and redirection to pass it as standard + input instead. + 2004-11-30 Matthias Clasen * NEWS: Updates diff --git a/glib/Makefile.am b/glib/Makefile.am index 979da8d..8fb9e06 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -14,7 +14,7 @@ INCLUDES = -I$(top_srcdir) -DG_LOG_DOMAIN=\"GLib\" \ $(GLIB_DEBUG_FLAGS) -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION glib.def: glib.symbols - (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 $(srcdir)/glib.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > glib.def + (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 - <$(srcdir)/glib.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > glib.def galias.h: glib.symbols $(PERL) $(srcdir)/makegalias.pl < $(srcdir)/glib.symbols > galias.h diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 7609bf8..8c62c57 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +2004-11-30 Tor Lillqvist + + * Makefile.am (gobject.def): gcc -E complains "linker input file + unused because linking not done" if told to preprocess the + gobject.symbols file. Use '-' and redirection to pass it as + standard input instead. + Sun Nov 28 13:21:12 2004 Manish Singh * abicheck.sh: filter G_GNUC before PRIVATE so $ is still true. diff --git a/gobject/Makefile.am b/gobject/Makefile.am index cca64c5..e2ee042 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -14,7 +14,7 @@ INCLUDES = \ -DG_DISABLE_CONST_RETURNS gobject.def: gobject.symbols - (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 $(srcdir)/gobject.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gobject.def + (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DINCLUDE_INTERNAL_SYMBOLS -DG_OS_WIN32 - <$(srcdir)/gobject.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g' | sort) > gobject.def gobjectalias.h: gobject.symbols $(PERL) $(srcdir)/makegobjectalias.pl < $(srcdir)/gobject.symbols > gobjectalias.h -- 2.7.4