From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id D34C3385840E; Fri, 10 May 2024 03:11:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D34C3385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1715310693; bh=pyIm8JeIQqpNvP63iTGgU/470kQXP/XS+enuUXypEr4=; h=From:To:Subject:Date:From; b=EOsqmUGAm3XS7q46ulIBK0uNTIpPykX3vVydJlhTgx39O4QoxluKMye8PoceqEkCw pFKVRmtGJmdWihFy9WGHfNfT/BPjS0XACFLUP/My2BIqI3Cwl4/5MZ7ZV6SyaBNner Onb2kCCd1OUNIAuo0HW4yoX1CpP1hDb7WXEeaV6E= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: H.J. Lu To: glibc-cvs@sourceware.org Subject: [glibc/release/2.30/master] Don't make errlist.o[s].d depend on errlist-compat.h X-Act-Checkin: glibc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/release/2.30/master X-Git-Oldrev: 9e6ef53644bf3bf69606526817ccd55bbae43baa X-Git-Newrev: fee8730c478b0abeb3f91d7a99bf73719ae69377 Message-Id: <20240510031133.D34C3385840E@sourceware.org> Date: Fri, 10 May 2024 03:11:32 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fee8730c478b0abeb3f91d7a99bf73719ae69377 commit fee8730c478b0abeb3f91d7a99bf73719ae69377 Author: H.J. Lu 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 Reviewed-by: Sunil K Pandey Diff: --- sysdeps/gnu/Makefile | 3 +-- 1 file changed, 1 insertion(+), 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)