xref: /OK3568_Linux_fs/buildroot/package/nodejs/v8-qemu-wrapper.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/usr/bin/env sh
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun# Pass -r to qemu-user as to trick glibc into not errorings out if the host kernel
4*4882a593Smuzhiyun# is older than the target kernel.
5*4882a593Smuzhiyunexec @QEMU_USER@ -r @TOOLCHAIN_HEADERS_VERSION@ \
6*4882a593Smuzhiyun    @QEMU_USERMODE_ARGS@ \
7*4882a593Smuzhiyun   -L "${STAGING_DIR}/" \
8*4882a593Smuzhiyun    "$@"
9*4882a593Smuzhiyun
10