mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
11 lines
319 B
Bash
11 lines
319 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}/" \
|
|
-E LD_LIBRARY_PATH="${STAGING_DIR}/lib:${STAGING_DIR}/usr/lib/" \
|
|
"$@"
|
|
|