mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
scripts: Clear the toolchain environment variables for virtiofsd
virtiofsd must be built with the default gnu toolchain so clear the environment variables that may poisoned by the alternative C library support. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
85ec160fa1
commit
2b607da2b3
@ -42,7 +42,8 @@ build_virtiofsd() {
|
||||
|
||||
if [ ! -f "$VIRTIOFSD_DIR/.built" ]; then
|
||||
pushd $VIRTIOFSD_DIR
|
||||
time cargo build --release
|
||||
rm -rf target/
|
||||
time RUSTFLAGS="" TARGET_CC="" cargo build --release
|
||||
cp target/release/virtiofsd "$WORKLOADS_DIR/" || exit 1
|
||||
touch .built
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user