Subject: bug#13775: 24.3.50; Omissions in documentation for crash reporting

From: Eli Zaretskii <[email-masked]>
Date: Fri, 22 Feb 2013 23:44:55 +0200

> Date: Sat, 23 Feb 2013 01:26:21 +0400
> From: Dmitry Gutov <[email-masked]>
> CC: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> On 22.02.2013 13:37, Andreas Schwab wrote:
> > Dmitry Gutov <[email-masked]> writes:
> >
> >> 'CFLAGS="-g3" make' doesn't.
> >
> > As expected and documented.
> >
> >> 'make CFLAGS="-g3"' does work, but AFAIK that's not the usual way of
> >> binding an environment variable value.
> >
> > This is wrong.  Environment variables never override makefile variables.
> 
> Sorry, what's wrong, exactly? My expectations, my retelling, or the way 
> it actually works?

Your expectations that putting a variable into the environment will
override Make variable that is assigned in the Makefile.  (If a
variable is not assigned in the Makefile, but used by one of its
rules, Make will use the value in the environment.)

And anyway, 'CFLAGS="-g3" make' doesn't export CFLAGS into the
environment of programs run by the shell, so this method is simply
wrong, for reasons that have nothing to do with Emacs.