From e4143212283c5f47ac4453689d2c2315dac82655 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 2 Dec 2016 08:58:53 -0600 Subject: [PATCH] rust: drop variable from global scope This variable had one place it was being used and it didn't need to be globally scoped. --- recipes-devtools/rust/rust.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-devtools/rust/rust.inc b/recipes-devtools/rust/rust.inc index 0b18cea..e797360 100644 --- a/recipes-devtools/rust/rust.inc +++ b/recipes-devtools/rust/rust.inc @@ -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}" \