From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19593 invoked by alias); 8 Jan 2005 16:39:02 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 19532 invoked from network); 8 Jan 2005 16:39:00 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 8 Jan 2005 16:39:00 -0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j08GcucC020082; Sat, 8 Jan 2005 17:38:56 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j08GctqV020075; Sat, 8 Jan 2005 17:38:55 +0100 Date: Sat, 08 Jan 2005 16:39:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Andreas Jaeger Cc: Glibc hackers Subject: [PATCH] Fixes for make clean (take 2) Message-ID: <20050108163855.GD17169@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20050107124425.GB17169@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2005-01/txt/msg00005.txt.bz2 On Fri, Jan 07, 2005 at 02:58:21PM +0100, Andreas Jaeger wrote: > > This change is bad: > > make[2]: Entering directory > > `/usr/src/build/502950-i686/BUILD/glibc-20050106T2203/elf' Makefile:726: warning: overriding commands for target `/usr/src/build/502950-i686/BUILD/glibc-20050106T2203/build-i686-linux/elf/tst-pie1' > > ../Rules:118: warning: ignoring old commands for target `/usr/src/build/502950-i686/BUILD/glibc-20050106T2203/build-i686-linux/elf/tst-pie1' > > mkdir /usr/src/build/502950-i686/BUILD/glibc-20050106T2203/build-i686-linux/elf > > > > I think putting tst-pie1.out and tst-pie1 into generated instead would cure > > this. > > I'll revert my patch now, This seems to work for me: 2005-01-08 Jakub Jelinek * elf/Makefile (generated): Add tst-pie1{,.out,.o}. --- libc/elf/Makefile.jj 2005-01-08 16:50:21.000000000 +0100 +++ libc/elf/Makefile 2005-01-08 17:24:04.000000000 +0100 @@ -734,6 +734,8 @@ $(objpfx)tst-pie1: $(objpfx)tst-pie1.o $ -L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link) \ -o $@ $(objpfx)tst-pie1.o $(objpfx)tst-piemod1.so \ $(common-objpfx)libc_nonshared.a + +generated += tst-pie1 tst-pie1.out tst-pie1.o endif check-textrel-CFLAGS = -O -Wall -D_XOPEN_SOURCE=600 -D_BSD_SOURCE Jakub