Binutils builds broken with -Werror
Dave Korn
dave.korn@artimi.com
Tue Mar 22 19:27:00 GMT 2005
----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....
More information about the Binutils
mailing list