New build-helper: qemu

This commit is contained in:
John 2019-10-19 15:25:45 +02:00 committed by John Zimmermann
parent 387cf14520
commit f4273541b8
4 changed files with 13 additions and 8 deletions

View file

@ -944,6 +944,11 @@ additional paths to be searched when linking target binaries to be introspected.
`qemu-<target_arch>-static` when running the target binary. You can for example specify
`GIR_EXTRA_OPTIONS="-strace"` to see a trace of what happens when running that binary.
- 'qemu' sets additional variables for the `cmake` and `meson` build styles to allow
executing cross-compiled binaries inside qemu.
It sets `CMAKE_CROSSCOMPILING_EMULATOR` for cmake and `exe_wrapper` for meson
to `qemu-<target_arch>-static` and `QEMU_LD_PREFIX` to `XBPS_CROSS_BASE`
<a id="functions"></a>
### Functions