From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21418 invoked by alias); 22 Mar 2005 18:24:22 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 21342 invoked from network); 22 Mar 2005 18:24:19 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 22 Mar 2005 18:24:19 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j2MIOFsL001116; Tue, 22 Mar 2005 13:24:15 -0500 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j2MIODO32681; Tue, 22 Mar 2005 13:24:13 -0500 Received: from [172.31.0.98] (vpnuser8.surrey.redhat.com [172.16.9.8]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j2MIOABW012797; Tue, 22 Mar 2005 18:24:10 GMT Message-ID: <424065D9.4050005@redhat.com> Date: Tue, 22 Mar 2005 20:49:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: Dave Korn CC: "'Ian Lance Taylor'" , "'Richard Sandiford'" , "'Daniel Jacobowitz'" , binutils@sourceware.org Subject: Re: Binutils builds broken with -Werror References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00679.txt.bz2 Hi Dave, > + GENERATED_OFILES := $(GENERATED_CFILES:.c=.o) > + NO_WERROR_COMPILE = $(subst Werror,Wno-error,$(COMPILE)) > Hmm. Won't this: > > NO_WERROR_COMPILE = $(COMPILE:Werror=Wno-error) > > do the desired trick? Yes it will. But is this construct also GNU Make specific ? Cheers Nick