Re: [PHP4BETA] enable overriding of CFLAGS while compiling?
| From: | Stig Bakken | Date: | Tue, 10 Aug 1999 12:58:17 +0000 |
| Subject: | Re: [PHP4BETA] enable overriding of CFLAGS while compiling? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3276@lists.php.net to get a copy of this message | ||
It should be safe to override CFLAGS. CFLAGS will normally contain some
combination of -Wxxx, -g and -O: make CFLAGS="-Wall -O6"
- Stig
On Mon, 9 Aug 1999, Thies C. Arntzen wrote:
> hi,
>
> i would love to be able to change the to-be-used compiler and
> opt/debugging flags in the make line. eg:
>
> make CC="/opt/egcs/bin/gcc" OPTIM="-g"
>
> or:
>
> make OPTIM="-O6"
>
> right now it's a lot of fiddling around to change the OPTIM/CC flags
> after php4 has been "configured".
>
> as i'm not mr. autoconf i won't even try to make a change like this
> myself, but what do you think?
>
> tc
>
>
> --
> PHP 4 Beta
>