[RFC] Make it easy to make --disable-werror the default for binutils

Joel Brobecker brobecker@adacore.com
Tue May 20 14:02:00 GMT 2014


> Joel> This patch introduces a new file, called development.sh, which
> Joel> just sets a variable called $development. In our development branches
> Joel> (Eg. "master"), it's set to true. But setting it to false would allow
> Joel> us to change the default behavior of various development-related
> Joel> features to be turned off; in this case, it turns off the use of
> Joel> -Werror by default (use --enable-werror to turn it back on).
> 
> I think it would be better to have a single development.sh in the tree
> -- that is, get rid of gdb's separate copy at the same time.  This is
> better due to the DRY principle.  Also, experience has shown -- remember
> the version debacle -- that unifying these things at the start is
> simpler than unifying them later.

Thanks for the feedback, Tom.  That works for me. I'll update the patch
if the binutils maintainers agree to it in principle.

-- 
Joel



More information about the Binutils mailing list