Binutils builds broken with -Werror

Nick Clifton nickc@redhat.com
Tue Mar 22 20:49:00 GMT 2005


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




More information about the Binutils mailing list