This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] Make it easy to make --disable-werror the default for binutils
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 20 May 2014 07:52:56 -0600
- Subject: Re: [RFC] Make it easy to make --disable-werror the default for binutils
- Authentication-results: sourceware.org; auth=none
- References: <1400540452-19897-1-git-send-email-brobecker at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
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.
Tom