On Wed, Mar 04, 2015 at 05:10:37PM -0500, Andrew Cagney wrote: > I think it is time to throw the -Werror switch. So how about sometime > on/after 11th March (that's a week, everything on the internet takes a > week)?
as long as there is one place to turn it off locally, it sounds good me. > > If for some reason you don't want -Werror then add: > > WERROR_CFLAGS= > > to your Makefile.inc.local. If for some reason you don't want the actual > warnings then also add: > > WARNING_CFLAGS= > > (both of these work now) does WARNING_CFLAGS= also work in mk/local.mk? what is the heirarchy of make files? What is prefered way mk/local.mk or Makefile.inc.local ? I know we are trying to be backword compitable. If I don't know what is the prefered way I could stuck in old universe. > The old WERROR variable may continue to work for a while (cleaning up > CFLAGS in general will eventually result in its loss). Along these lines I have a request. I want to turn off "-O2" from one place, for programs, libs I beleive in the past I had to edit multiple Makefiles. Disabling -O2 is useful in combination with -g. thanks, -antony _______________________________________________ Swan-dev mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-dev
