Re: Need to inherit apxs compiler flags
| From: | Olivier Hill | Date: | Mon, 18 Jul 2005 02:35:46 +0000 |
| Subject: | Re: Need to inherit apxs compiler flags | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17300@lists.php.net to get a copy of this message | ||
On 7/17/05, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
>
> 3:47pm colo:~> apxs -q CFLAGS
> -DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE
> -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1 -g -Wall
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>
> Anybody see a better way to solve this?
IIRC, Gentoo devs added those flags (-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64) on PHP ebuilds because it caused
incompatibilities with Apache that was compiled with those flags.
Besides, I can use to be able to open >2G files from PHP where Apache
can.
I'm +1 on this. Anybody can anticipate a problem doing that sort of
change? Could it break with some libs that were not compiled with 64
bits FPs or am I missing something?
Sincerely,
Olivier