Re: [PHP4BETA] make CFLAGS="-some -Weird -Flags" stopped working
| From: | Sascha Schumann | Date: | Wed, 15 Mar 2000 02:41:44 +0000 |
| Subject: | Re: [PHP4BETA] make CFLAGS="-some -Weird -Flags" stopped working | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12133@lists.php.net to get a copy of this message | ||
On Wed, Mar 15, 2000 at 03:33:26AM +0100, thies@digicol.de wrote:
> On Wed, Mar 15, 2000 at 03:22:46AM +0100, Sascha Schumann wrote:
> > On Wed, Mar 15, 2000 at 03:08:01AM +0100, thies@digicol.de wrote:
> > >
> > > because it overwrites
> > >
> > > CFLAGS = -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> > >
> > > in config_vars.
> > >
> > > maybe we should add an OPTIM= option (like apache)
> > > that allows on eto play with compiler-options whitout
> > > fiddleing with the makefiles - sascha?
> >
> > That would mean that we would also have to pass the option
> > down to all bundled libraries. I don't think automake
> > supports OPTIM or something similar.
>
> i thought we no longer used automake. anyhow - i don't care
> (really) for the bundled mysql and expat - but everything
We are talking about Zend and TSRM.
> that makes php "alive" i'd like to recompile with different
> optimisation levels without having to look into the
> config_vars to find the "current" setting.
>
> maybe we could move stuff like " -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT " into php_config.h that way CFLAGS would be
> free (again) to set the compiler-options at make-time.
They should be in CPPFLAGS.
- Sascha