mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-12 05:54:33 +02:00
squeekboard: set correct rust target
$HOST_SYS Rust target is not recognized by Rust provided by oe-core and meta-lts-mixins layers, the correct one should be $RUST_HOST_SYS. Fixes the following compilation error: error: Error loading target specification: Could not find specification for target "aarch64-poky-linux". Run `rustc --print target-list` for a list of built-in targets Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
cacc737e24
commit
97b69bf921
@ -136,7 +136,7 @@ S = "${WORKDIR}/git"
|
|||||||
inherit cargo meson rust pkgconfig
|
inherit cargo meson rust pkgconfig
|
||||||
|
|
||||||
EXTRA_OEMESON = "\
|
EXTRA_OEMESON = "\
|
||||||
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
|
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
|
||||||
-Dtests=false \
|
-Dtests=false \
|
||||||
-Ddepdatadir=${datadir} \
|
-Ddepdatadir=${datadir} \
|
||||||
-Donline=true \
|
-Donline=true \
|
||||||
|
@ -260,7 +260,7 @@ S = "${WORKDIR}/git"
|
|||||||
inherit cargo meson rust pkgconfig
|
inherit cargo meson rust pkgconfig
|
||||||
|
|
||||||
EXTRA_OEMESON = "\
|
EXTRA_OEMESON = "\
|
||||||
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
|
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
|
||||||
-Dtests=false \
|
-Dtests=false \
|
||||||
-Ddepdatadir=${datadir} \
|
-Ddepdatadir=${datadir} \
|
||||||
-Donline=false \
|
-Donline=false \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user