Binutils builds broken with -Werror
Richard Sandiford
rsandifo@redhat.com
Mon Mar 21 13:19:00 GMT 2005
Nick Clifton <nickc@redhat.com> writes:
> + # Disable -Werror, if it has been enabled, when building generated C
> source
> + # files since old versions of bison & yacc will produce working code which
> + # contain compile time warnings.
> + GENERATED_OFILES := $(GENERATED_CFILES:.c=.o)
> + $(GENERATED_OFILES):
> + $(COMPILE) -c `basename $@ .o`.c -Wno-error
> +
I don't think you should hard-code -Wno-error like this. Isn't binutils
supposed to buildable with non-gcc compilers? (And it does build with
MIPSpro FWIW, or at least it did recently.)
Richard
More information about the Binutils
mailing list