diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-11-06 22:19:38 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-11-06 22:21:07 +0100 |
commit | a1ca3dcb590852880770fe879ea59b6d8222b010 (patch) | |
tree | 200cb3318981568713fe850f647b68b0c76bf03e /support | |
parent | d02655cd2157636d6150daf3a1344b25141780c1 (diff) | |
download | buildroot-a1ca3dcb590852880770fe879ea59b6d8222b010.tar.gz buildroot-a1ca3dcb590852880770fe879ea59b6d8222b010.zip |
jamvm: fix build with uClibc on i386/x86_64
Commit 0b6b67f34d6d4aeb340bbca579dbf85363c3f4ea ("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>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions