Merge pull request #146 from srwalter/fix-rust-bin
Fix rust-bin.bbclass
This commit is contained in:
@@ -3,8 +3,7 @@ inherit rust
|
|||||||
DEPENDS_append = " patchelf-native"
|
DEPENDS_append = " patchelf-native"
|
||||||
RDEPENDS_${PN} += "${RUSTLIB_DEP}"
|
RDEPENDS_${PN} += "${RUSTLIB_DEP}"
|
||||||
|
|
||||||
RUSTFLAGS += "-C crate_hash=${BB_TASKHASH}"
|
RUSTC_ARCHFLAGS += "-C opt-level=3 -g -L ${STAGING_DIR_HOST}/${rustlibdir} -C link-args=--sysroot=${STAGING_DIR_HOST}"
|
||||||
RUSTC_ARCHFLAGS += "-C opt-level=3 -g -L ${STAGING_DIR_HOST}/${rustlibdir}"
|
|
||||||
EXTRA_OEMAKE += 'RUSTC_ARCHFLAGS="${RUSTC_ARCHFLAGS}"'
|
EXTRA_OEMAKE += 'RUSTC_ARCHFLAGS="${RUSTC_ARCHFLAGS}"'
|
||||||
|
|
||||||
# Some libraries alias with the standard library but libstd is configured to
|
# Some libraries alias with the standard library but libstd is configured to
|
||||||
|
|||||||
Reference in New Issue
Block a user