From 2c3908eed945bc4e670d631d615c36f780d5335b Mon Sep 17 00:00:00 2001 From: Michael Zhao Date: Wed, 2 Mar 2022 20:25:12 +0800 Subject: [PATCH] scripts: Remove some obselete settings for musl Additional settings on `TARGET_CC` and `CFLAGS` for `musl` target are no longer needed on X86_64. Signed-off-by: Michael Zhao --- scripts/run_integration_tests_x86_64.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/run_integration_tests_x86_64.sh b/scripts/run_integration_tests_x86_64.sh index 684b148da..97b10f48d 100755 --- a/scripts/run_integration_tests_x86_64.sh +++ b/scripts/run_integration_tests_x86_64.sh @@ -174,12 +174,6 @@ cp $FW $VFIO_DIR cp $VMLINUX_IMAGE $VFIO_DIR || exit 1 BUILD_TARGET="$(uname -m)-unknown-linux-${CH_LIBC}" -CFLAGS="" -TARGET_CC="" -if [[ "${BUILD_TARGET}" == "x86_64-unknown-linux-musl" ]]; then -TARGET_CC="musl-gcc" -CFLAGS="-I /usr/include/x86_64-linux-musl/ -idirafter /usr/include/" -fi cargo build --all --release $features --target $BUILD_TARGET strip target/$BUILD_TARGET/release/cloud-hypervisor