modphp: enable endian check
authorChong Lu <Chong.Lu@windriver.com>
Tue, 10 Dec 2013 10:03:01 +0000 (18:03 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:34:53 +0000 (08:34 -0800)
commit902c968bc900ab18d26b8b41b4cf235e0c7812e3
tree2484da2ae486823944657c66a67d52b595ea3ac8
parentabdf14eb923e9d5cb19515edecb8095f8618735e
modphp: enable endian check

Previously, modphp estimates endian on host rather than checks it on
target. If the host is little-endian and the target is big-endian,
modphp claims that endian is little. As a result, a memory location
that it is not allowed to access when calling libphp5.so module on
target. It will occur segmentation fault.
This patch enables endian check support for modphp.

(From meta-openembedded rev: a03936118f8cb65458a2a25bcf92469822b08f14)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-webserver/recipes-php/modphp/modphp5.inc