kumquat-buildroot/package/jamvm
Thomas Petazzoni a1ca3dcb59 jamvm: fix build with uClibc on i386/x86_64
Commit 0b6b67f34d ("jamvm: add patch to
fix musl build") introduced a patch to fix the jamvm build with the
musl C library. While the commit log pretends that the build was still
working with uClibc, it is not correct: it no longer builds fine with
uClibc on i386/x86_64, because the Buildroot default configuration for
uClibc doesn't enable <fenv.h> support.

Therefore this commit adapts the patch to use <fenv.h> if available
(which is the case with musl), and otherwise fall back to
<fpu_control.h>, which is available in uClibc.

Thanks to Waldemar for the investigation.

Fixes:

  http://autobuild.buildroot.net/results/325a50d15e1836b31df4e84ba83b296abfb73041/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-06 22:21:07 +01:00
..
0001-Use-fenv.h-when-available-instead-of-fpu_control.h.patch jamvm: fix build with uClibc on i386/x86_64 2016-11-06 22:21:07 +01:00
Config.in
jamvm.hash
jamvm.mk jamvm: fix build with uClibc on i386/x86_64 2016-11-06 22:21:07 +01:00