Skip to content

Commit

Permalink
* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
Browse files Browse the repository at this point in the history
	used when generating errlist-compat.c.
  • Loading branch information
Ulrich Drepper committed Dec 20, 2005
1 parent 915a6c5 commit fc3480d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 6 additions & 4 deletions sysdeps/gnu/Makefile
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fc3480d

Please sign in to comment.