Skip to content

Commit

Permalink
rust: drop variable from global scope
Browse files Browse the repository at this point in the history
This variable had one place it was being used and it didn't need to be
globally scoped.
  • Loading branch information
cardoe committed Dec 2, 2016
1 parent 07069a1 commit e414321
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipes-devtools/rust/rust.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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}" \
Expand Down

0 comments on commit e414321

Please sign in to comment.