rust: drop variable from global scope

This variable had one place it was being used and it didn't need to be
globally scoped.
This commit is contained in:
Doug Goldstein
2016-12-02 08:58:53 -06:00
parent 07069a1869
commit e414321228
+1 -3
View File
@@ -338,8 +338,6 @@ python do_rust_arch_fixup () {
addtask rust_arch_fixup before do_configure after do_patch
do_rust_arch_fixup[dirs] += "${S}/mk/cfg"
llvmdir = "${STAGING_DIR_NATIVE}/${prefix_native}"
# prevent the rust-installer scripts from calling ldconfig
export CFG_DISABLE_LDCONFIG="notempty"
@@ -356,7 +354,7 @@ do_configure () {
"--enable-optimize" \
"--enable-optimize-cxx" \
"--disable-llvm-version-check" \
"--llvm-root=${llvmdir}" \
"--llvm-root=${STAGING_DIR_NATIVE}/${prefix_native}" \
"--enable-optimize-tests" \
"--release-channel=stable" \
"--prefix=${prefix}" \