diff options
author | Ross Burton <ross.burton@intel.com> | 2013-10-08 11:23:32 +0000 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2013-12-10 21:12:16 -0500 |
commit | 93e084ae8bcae8e7bde5a7e52a274a39dc9ba509 (patch) | |
tree | 10ca87577fee965f9adcd09c1e8229f593a92504 /scripts/contrib/python | |
parent | e807747f28798b080bf13a65293ab04c8d83834c (diff) | |
download | openembedded-core-93e084ae8bcae8e7bde5a7e52a274a39dc9ba509.tar.gz openembedded-core-93e084ae8bcae8e7bde5a7e52a274a39dc9ba509.tar.bz2 openembedded-core-93e084ae8bcae8e7bde5a7e52a274a39dc9ba509.zip |
xorg-lib-common: fix malloc0returnsnull usage
Xorg libraries that use Xmalloc need to know if malloc(0) returns NULL or not,
and as this is a runtime test it can't be checked for. Previously
xorg-lib-common declared that malloc(0) did return NULL, but this isn't true for
eglibc (only uclibc).
Instead, use libc-specific overrides to pass the relevant option.
(ideally the check would use the autoconf cache so this can be stored in the site files)
(From OE-Core master rev: e628c8aba0189de30de2833882b9999ff3b6547a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'scripts/contrib/python')
0 files changed, 0 insertions, 0 deletions