From 8f25a92000f37420090a3b41110b829f085e0b1f Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 6 Apr 2016 14:00:08 -0500 Subject: [PATCH] rust: drop duplicate variable assignment prefix_for() and the deleted line are identical. Signed-off-by: Doug Goldstein --- recipes-devtools/rust/rust.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes-devtools/rust/rust.inc b/recipes-devtools/rust/rust.inc index c3c5e7a..f0173f1 100644 --- a/recipes-devtools/rust/rust.inc +++ b/recipes-devtools/rust/rust.inc @@ -209,7 +209,6 @@ def rust_gen_target(d, thing, wd): llvm_target = d.getVarFlag('LLVM_TARGET', arch, True) target_pointer_width = d.getVarFlag('TARGET_POINTER_WIDTH', arch, True) endian = d.getVarFlag('TARGET_ENDIAN', arch, True) - prefix = d.getVar('{}_PREFIX'.format(thing), True) ccache = d.getVar('CCACHE', True) linker = "{}{}gcc".format(ccache, prefix) objcopy = "{}objcopy".format(prefix)