v8: cherry-pick uclibc build patch from upstream
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 14 Apr 2015 07:54:30 +0000 (00:54 -0700)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 14 Jun 2015 21:34:08 +0000 (23:34 +0200)
commit4b4b1760b5b06adebb8770c8febed97c47848871
treee0b96265fce399167c7044024e9c029da3564ed2
parent74fdf732d0621c29cb57352e8e51ae8889afac8c
v8: cherry-pick uclibc build patch from upstream

Original commit log follows:

    Restore V8_LIBC_UCLIBC as a libc option.

    As uClibc defines __GLIBC__ in an attempt to look like glibc,
    V8_LIBC_GLIBC was true for uClibc as well. Checking for uClibc
    before glibc fixes this and restores the correct behavior.

    Review URL: https://codereview.chromium.org/1066573005

Fixes: https://github.com/nodejs/io.js/issues/1432
PR-URL: https://github.com/nodejs/io.js/pull/1974
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Rod Vagg <rod@vagg.org>
deps/v8/include/v8config.h