This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Binutils builds broken with -Werror
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Nick Clifton'" <nickc at redhat dot com>,"'Ian Lance Taylor'" <ian at airs dot com>
- Cc: "'Richard Sandiford'" <rsandifo at redhat dot com>,"'Daniel Jacobowitz'" <drow at false dot org>,<binutils at sourceware dot org>
- Date: Tue, 22 Mar 2005 17:28:24 -0000
- Subject: RE: Binutils builds broken with -Werror
----Original Message----
>From: Nick Clifton
>Sent: 22 March 2005 17:12
> Hi Ian,
>
>>> Poo. Well we can rely upon using a GNU-like make program, right ? So
>>> how about this version then ?
>>
>>
>> That's an interesting question. gcc has decided to require GNU make.
>> Do the binutils want to follow?
>
> Hmm, well I am not wedded to GNU make, but do other versions of make
> support the $(subst FROM,TO,TEXT) function ? If not then can anyone
> suggest a more portable way of achieving the same effect ?
>
> Cheers
> Nick
+ 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?
cheers,
DaveK
--
Can't think of a witty .sigline today....