Re: [PHP4BETA] enable overriding of CFLAGS while compiling?
| From: | Thies C. Arntzen | Date: | Tue, 10 Aug 1999 13:12:26 +0000 |
| Subject: | Re: [PHP4BETA] enable overriding of CFLAGS while compiling? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3277@lists.php.net to get a copy of this message | ||
stig,
i just fixed 2 remaining makefiles (see my last commit) -
works now!
tc
On Tue, 10 Aug 1999, Stig Bakken wrote:
> 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
> >
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany