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:14:33 -0700 |
commit | 3362604df4f06f579ddaed1d0a4622d2ac8463cf (patch) | |
tree | 0091de29625b71a02b38cc795a4c747879c45cfb | |
parent | a13b358cfb0421640afd5b6b5414299af148e8e9 (diff) | |
download | glibc-3362604df4f06f579ddaed1d0a4622d2ac8463cf.tar.gz glibc-3362604df4f06f579ddaed1d0a4622d2ac8463cf.tar.xz glibc-3362604df4f06f579ddaed1d0a4622d2ac8463cf.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 ae0c3fc0aa..ccb5ed8bea 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) |