aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-05-09 13:07:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-05-09 20:12:05 -0700
commit3d443b8d6a5e19edb5392d772685a58c5fb2310b (patch)
treec85b4f262481f552990037425ebc06be3ffd0f3d
parentb1241520a067f09a302ded73e13ab24fd3c1deef (diff)
downloadglibc-3d443b8d6a5e19edb5392d772685a58c5fb2310b.zip
glibc-3d443b8d6a5e19edb5392d772685a58c5fb2310b.tar.gz
glibc-3d443b8d6a5e19edb5392d772685a58c5fb2310b.tar.bz2
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>
-rw-r--r--sysdeps/gnu/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index a03d40e..515b8bb 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -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)