Re: [PHP4BETA] make optimisation flags compile-time-settable?
| From: | Andrey Zmievski | Date: | Tue, 22 Jun 1999 19:28:14 +0000 |
| Subject: | Re: [PHP4BETA] make optimisation flags compile-time-settable? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1660@lists.php.net to get a copy of this message | ||
Thies C. Arntzen wrote:
> hi,
> i would love if i could say (eg)
>
> make OPTIM="-g -Wall" # (whatsoever)
>
> and have all of php4 (zend, ext's etc) compiled using exactly the OPTIM
> setting i supplied while compiling (just the way apache does it). right
> now it's more or less impossible to compile without -O2 (using gcc)
> without fiddeling with lots of makefiles.
>
> what do you think?
Why not just do:
CFLAGS=-g -Wall ./configure ........
-Andrey
* Software never has bugs. It just develops random features. *