diff --git a/classes/cargo_bin.bbclass b/classes/cargo_bin.bbclass index 7e3d909..2c0416d 100644 --- a/classes/cargo_bin.bbclass +++ b/classes/cargo_bin.bbclass @@ -96,12 +96,10 @@ cargo_bin_do_configure() { cargo_bin_do_compile() { export TARGET_CC="${WRAPPER_DIR}/cc-wrapper.sh" export TARGET_CXX="${WRAPPER_DIR}/cxx-wrapper.sh" - export CC="${WRAPPER_DIR}/cc-wrapper.sh" - export CXX="${WRAPPER_DIR}/cxx-wrapper.sh" - export BUILD_CC="${WRAPPER_DIR}/cc-native-wrapper.sh" - export BUILD_CXX="${WRAPPER_DIR}/cxx-native-wrapper.sh" + export CC="${WRAPPER_DIR}/cc-native-wrapper.sh" + export CXX="${WRAPPER_DIR}/cxx-native-wrapper.sh" export TARGET_LD="${WRAPPER_DIR}/linker-wrapper.sh" - export LD="${WRAPPER_DIR}/linker-wrapper.sh" + export LD="${WRAPPER_DIR}/linker-native-wrapper.sh" export PKG_CONFIG_ALLOW_CROSS="1" export LDFLAGS="" export RUSTFLAGS="${RUSTFLAGS}"