mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.
This commit is contained in:
parent
78df0fcb80
commit
64b6a1a4e4
@ -32,9 +32,12 @@ endif
|
|||||||
ifeq ($(subdir),stdio-common)
|
ifeq ($(subdir),stdio-common)
|
||||||
|
|
||||||
vpath errlist.c $(full_config_sysdirs)
|
vpath errlist.c $(full_config_sysdirs)
|
||||||
$(objpfx)errlist-compat.c: errlist.c \
|
ifeq ($(build-shared),yes)
|
||||||
$(..)sysdeps/gnu/errlist-compat.awk \
|
$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
|
||||||
$(common-objpfx)Versions.v.i
|
$(common-objpfx)Versions.v.i
|
||||||
|
else
|
||||||
|
$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk
|
||||||
|
endif
|
||||||
$(AWK) -v maxerr=`\
|
$(AWK) -v maxerr=`\
|
||||||
$(CC) -S $(CPPFLAGS) $(CFLAGS) -DNOT_IN_libc -DEMIT_ERR_MAX $< -o - \
|
$(CC) -S $(CPPFLAGS) $(CFLAGS) -DNOT_IN_libc -DEMIT_ERR_MAX $< -o - \
|
||||||
| sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$$/\1/p'` \
|
| sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$$/\1/p'` \
|
||||||
|
Loading…
Reference in New Issue
Block a user