cargo: remove code that doesn't work
The comment says it doesn't work and I can confirm it won't work.
This commit is contained in:
@@ -71,12 +71,6 @@ B = "${S}"
|
|||||||
# the crate_hash option will cause the compiler to crash
|
# the crate_hash option will cause the compiler to crash
|
||||||
RUSTFLAGS = "-C rpath ${RUSTLIB}"
|
RUSTFLAGS = "-C rpath ${RUSTLIB}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
|
||||||
|
|
||||||
# Note: this does not appear to work very well due to our use of bitbake triples
|
|
||||||
# & rust's use of cooked triples
|
|
||||||
PACKAGECONFIG[rust-snapshot] = "--local-rust-root=${B}/rustc"
|
|
||||||
|
|
||||||
# Used in libgit2-sys's build.rs, needed for pkg-config to be used
|
# Used in libgit2-sys's build.rs, needed for pkg-config to be used
|
||||||
export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
|
export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
|
||||||
|
|
||||||
@@ -84,8 +78,6 @@ export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
|
|||||||
DISABLE_STATIC = ""
|
DISABLE_STATIC = ""
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'rust-snapshot', '${S}/.travis.install.deps.sh', ':', d)}
|
|
||||||
|
|
||||||
"${S}/configure" \
|
"${S}/configure" \
|
||||||
"--prefix=${prefix}" \
|
"--prefix=${prefix}" \
|
||||||
"--build=${BUILD_SYS}" \
|
"--build=${BUILD_SYS}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user