jamvm: Add host build
authorRosen Penev <rosenp@gmail.com>
Sun, 11 Aug 2019 20:58:21 +0000 (13:58 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 25 Jan 2020 06:01:47 +0000 (22:01 -0800)
commitcbfd07701bfb747e7f75071d160b778799843383
tree006353f606eb29fad83fec32bacf78c2d8188508
parent539c26b2ea5c72965ad11265fc219523628d001b
jamvm: Add host build

Needed for classpath. GCJ is also needed but that can be dealt with
separately.

Fix compilation with musl by defining _GNU_SOURCE. What's funny here is
that if __USE_GNU gets replaced, the host build fails. The man page says
_GNU_SOURCE for pthread_getattr_np but glibc violates that statement.

Removed classpath dependency. classpaths must select jamvm, not the other
way around.

Removed target whitelist. Switched to blacklist.

Fixed License information.

Various other cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 2972cc98ebfb512d394ffe406410961545821936 and synced
from master)
lang/jamvm/Makefile
lang/jamvm/patches/010-musl.patch [new file with mode: 0644]