779767d947
Changes include: - Remove the dependency on Python2, as nodejs 14 supports Python 3. - Remove --without-snapshot as it's no longer a supported config option. - Remove /openssl to the shared-openssl-includes config option, as the build system automatically appends /openssl to the includes path. - License file changes: - Removed deps/http_parser (MIT) - Removed deps/node-inspect (MIT) - Updated some URLs and license years Since the removed parts are MIT like NodeJS itself, the license info doesn't change. - Add a qemu wrapper. V8's JIT infrastructure requires binaries such as mksnapshot and mkpeephole to be run in the host during the build. However, these binaries must have the same bit-width as the target (e.g. a x86_64 host targeting ARMv6 needs to produce a 32-bit binary). To work around this issue, cross-compile the binaries for the target and run them on the host with QEMU, much like gobject-introspection. Signed-off-by: Adam Duskett <aduskett@gmail.com> [Arnout: - use exec in qemu-wrapper script; - remove s390x support - qemu doesn't have it. ] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
10 lines
250 B
Bash
10 lines
250 B
Bash
#!/usr/bin/env sh
|
|
|
|
# Pass -r to qemu-user as to trick glibc into not errorings out if the host kernel
|
|
# is older than the target kernel.
|
|
exec @QEMU_USER@ -r @TOOLCHAIN_HEADERS_VERSION@ \
|
|
@QEMU_USERMODE_ARGS@ \
|
|
-L "${STAGING_DIR}/" \
|
|
"$@"
|
|
|