configure.in change
Jeremy Allison
jeremy at valinux.com
Fri Apr 6 15:32:13 GMT 2001
On Fri, Apr 06, 2001 at 09:02:03AM -0500, Gerald Carter wrote:
>
> On Thu, 05 Apr 2001 21:22:37 Herb Lewis wrote:
> > This is what I propose for configure.in (and configure)
> >
> > Without --enable-debug CFLAGS will be set to -O if undefined else
> > it will prepend -O to environment CFLAGS. One "drawback" to this
> > is if the environment has -g set then you will not "optimize
> > by default" as the comment says. Presumably if the environment
>
> Sounds fine to me.
>
> > With --enable-debug CFLAGS will be set to -g if undefined else
> > it will have -g appended to the end of its environment definition.
> > -g typically overrides any -O setting and since it is last it will
> > override any -g[n] settings as well (at least with IRIX compilers).
>
> Sounds like an acceptable fix. Thanks Herb.
Sounds fine to me. Can you check it into 2.2 and HEAD please Herb ?
Thanks,
Jeremy.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba-technical
mailing list