libgc: fix build under uClibc
authorBaruch Siach <baruch@tkos.co.il>
Wed, 23 Apr 2014 12:00:03 +0000 (15:00 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Apr 2014 13:25:03 +0000 (15:25 +0200)
commit6bef4893172dda2c186268e630c5e61cb9609693
treef2be725dedf070c1914b9940615e16fb2da3e053
parent73797e7b3c948e6cbda8dec289df417958736d19
libgc: fix build under uClibc

fenv.h is used in a workaround for a glibc specific bug. However, uClibc lies
by defining __GLIBC__, but does not provide fenv.h in our default uClibc
configurations.

Fixes:
http://autobuild.buildroot.net/results/b2a/b2a1b1e374764855e701ea62fe9f1385ba77ac0d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libgc/libgc-01-Fix-build-on-Linux-x86_64-under-uClibc.patch [new file with mode: 0644]