A new libio patch for linux
Ulrich Drepper
drepper@ipd.info.uni-karlsruhe.de
Fri Oct 10 15:09:00 GMT 1997
hjl@lucon.org (H.J. Lu) writes:
> Index: libio/Makefile.in
> ===================================================================
> RCS file: /home/work/cvs/gnu/egcs/libio/Makefile.in,v
> retrieving revision 1.1.1.5
> diff -u -r1.1.1.5 Makefile.in
> --- Makefile.in 1997/10/01 19:55:50 1.1.1.5
> +++ Makefile.in 1997/10/01 20:39:15
> @@ -73,10 +73,14 @@
>
> $(LIBIO_OBJECTS): $(_G_CONFIG_H)
>
> -libio.a: $(_G_CONFIG_H) $(LIBIO_OBJECTS)
> +libio.a: $(_G_CONFIG_H) $(LIBIO_OBJECTS) empty.o
> -rm -rf libio.a
> - $(AR) $(AR_FLAGS) libio.a $(LIBIO_OBJECTS)
> + $(AR) $(AR_FLAGS) libio.a $(LIBIO_OBJECTS) \
> + `test x = x"$(LIBIO_OBJECTS)" && echo empty.o`
> $(RANLIB) libio.a
> +
> +empty.c: Makefile
> + echo '/* empty file */' > empty.c
Why this extra code? As far as I know we don't use it anywhere (e.g.,
libiberty). Which platform is that broken? Onl yon Linux the `ar'
command line can be empty and in since Liux uses GNU ld this shouldn't
be a problem.
-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------
More information about the Gcc
mailing list