bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#13775: 24.3.50; Omissions in documentation for crash reporting
Date: Fri, 22 Feb 2013 23:44:55 +0200

> Date: Sat, 23 Feb 2013 01:26:21 +0400
> From: Dmitry Gutov <dgutov@yandex.ru>
> CC: Eli Zaretskii <eliz@gnu.org>, 13775@debbugs.gnu.org
> 
> On 22.02.2013 13:37, Andreas Schwab wrote:
> > Dmitry Gutov <dgutov@yandex.ru> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]