public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.31/master] Don't make errlist.o[s].d depend on errlist-compat.h
@ 2024-05-10  3:08 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-05-10  3:08 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2d0e16a01b73bf64f2ced02074cc3879893ffdab

commit 2d0e16a01b73bf64f2ced02074cc3879893ffdab
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 9 13:07:23 2024 -0700

    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>

Diff:
---
 sysdeps/gnu/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 97fcb6fb90..26dc91d90a 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-10  3:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-10  3:08 [glibc/release/2.31/master] Don't make errlist.o[s].d depend on errlist-compat.h H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).