* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is

used when generating errlist-compat.c.
This commit is contained in:
Ulrich Drepper 2005-12-20 04:13:54 +00:00
parent 915a6c51c5
commit fc3480d3ee
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-12-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
used when generating errlist-compat.c.
2005-12-18 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv.c: Demangle pointers before use if necessary.

View File

@ -1,4 +1,4 @@
# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004
# Copyright (C) 1996,1997,1998,1999,2001,2002,2003,2004, 2005
# Free Software Foundation, Inc.
# This file is part of the GNU C Library.
@ -32,12 +32,14 @@ endif
ifeq ($(subdir),stdio-common)
vpath errlist.c $(full_config_sysdirs)
errlist-c = $(firstword $(wildcard $(addsuffix /errlist.c, \
$(full_config_sysdirs) .)))
ifeq ($(versioning),yes)
$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
$(objpfx)errlist-compat.c: $(errlist-c) $(..)sysdeps/gnu/errlist-compat.awk \
$(common-objpfx)Versions.v.i $(before-compile)
else
$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
$(objpfx)errlist-compat.c: $(errlist-c) $(..)sysdeps/gnu/errlist-compat.awk \
$(before-compile)
endif
$(make-target-directory)