mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 03:33:33 +08:00
Don't make errlist.o[s].d depend on errlist-compat.h
stdio-common/errlist.o.d and stdio-common/errlist.os.d aren't generated alongside with stdio-common/errlist-compat.h. Don't make them depend on stdio-common/errlist-compat.h to avoid infinite loop with make-4.4. This fixes BZ #31330. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
This commit is contained in:
parent
a13b358cfb
commit
3362604df4
@ -54,8 +54,7 @@ $(objpfx)errlist-compat.h: $(objpfx)errlist-compat.c
|
||||
generated += errlist-compat.c errlist-compat.h
|
||||
|
||||
# This will force the generation above to happy if need be.
|
||||
$(foreach o,$(object-suffixes) $(object-suffixes:=.d),\
|
||||
$(objpfx)errlist$o): $(objpfx)errlist-compat.h
|
||||
$(foreach o,$(object-suffixes),$(objpfx)errlist$o): $(objpfx)errlist-compat.h
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),login)
|
||||
|
Loading…
Reference in New Issue
Block a user