diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-05-09 13:07:23 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-05-09 20:09:21 -0700 |
commit | fee8730c478b0abeb3f91d7a99bf73719ae69377 (patch) | |
tree | 51e84b5c773bf3d25030cbbb2ff8754248f6861e | |
parent | 9e6ef53644bf3bf69606526817ccd55bbae43baa (diff) | |
download | glibc-fee8730c478b0abeb3f91d7a99bf73719ae69377.tar.gz glibc-fee8730c478b0abeb3f91d7a99bf73719ae69377.tar.xz glibc-fee8730c478b0abeb3f91d7a99bf73719ae69377.zip |
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/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index a03d40e4ca..515b8bb86e 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) |